Skip to content

FString logic cleanup#8677

Merged
headius merged 1 commit intojruby:10-devfrom
headius:cleanup_fstring
Mar 6, 2025
Merged

FString logic cleanup#8677
headius merged 1 commit intojruby:10-devfrom
headius:cleanup_fstring

Conversation

@headius
Copy link
Member

@headius headius commented Mar 6, 2025

  • Type the cache as containing FString.
  • Make FStringEqual wrapper closeable for try-with-resources.
  • Clean up FString construction.
  • Allow incoming FString to become the cached FString if it wins.
  • Allow going straight to cache with ByteList rather than via intermediate RubyString.
  • Cache an fstring for each symbol.

@headius headius added this to the JRuby 10.0.0.0 milestone Mar 6, 2025
@headius headius force-pushed the cleanup_fstring branch 2 times, most recently from 6b49a10 to 178d280 Compare March 6, 2025 19:58
* Type the cache as containing FString.
* Make FStringEqual wrapper closeable for try-with-resources.
* Clean up FString construction.
* Allow incoming FString to become the cached FString if it wins.
* Allow going straight to cache with ByteList rather than via
  intermediate RubyString.
@headius headius merged commit 16ced73 into jruby:10-dev Mar 6, 2025
54 of 73 checks passed
@headius headius deleted the cleanup_fstring branch March 6, 2025 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant