Skip to content

Conversation

@headius
Copy link
Contributor

@headius headius commented Oct 10, 2023

A few minor tweaks.

  • Cache field accesss throughout
  • Arity-split values_at method for low arity calls
  • General cleanup

All methods now have specific-arity paths up to 3 arguments.
The Region changes in JRuby's regex engine require that we support
both the old and new API for a while. Unfortunately the only
version of JRuby that contains both APIs is 9.4.1.0 so we have to
at least build against that version. Testing can occur against
any version, but for now this is the simplest way to get CI green.
@headius headius merged commit 00e0982 into ruby:master Oct 10, 2023
@headius headius deleted the minor_optz branch October 10, 2023 19:43
@headius
Copy link
Contributor Author

headius commented Oct 10, 2023

@mrkn Could we do a release soon? These are small changes but also minor perf improvements and good cleanup.

@kou
Copy link
Member

kou commented Oct 11, 2023

I can do it.

@kou
Copy link
Member

kou commented Oct 11, 2023

Done.

headius added a commit to headius/jruby that referenced this pull request Oct 19, 2023
headius added a commit to headius/jruby that referenced this pull request Jan 21, 2024
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.

2 participants