Skip to content

Conversation

@knutwannheden
Copy link
Contributor

By not calling String#substring() we can avoid unnecessary String allocations. As Integer#parseInt(CharSequence, int, int, int) is only available in Java 9, I inlined a simplified version of it.

By not calling `String#substring()` we can avoid unnecessary `String` allocations. As `Integer#parseInt(CharSequence, int, int, int)` is only available in Java 9, I inlined a simplified version of it.
@knutwannheden knutwannheden marked this pull request as ready for review November 20, 2025 15:53
@jkschneider jkschneider marked this pull request as draft November 20, 2025 17:16
@jkschneider
Copy link
Member

Let's see if the complexity here is worthwhile after we see the effect of Shannon's earlier optimizations around Version are fully rolled out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants