Skip to content

perf: improve primitive list inlining and remove Python tooling - #28

Merged
rasros merged 1 commit into
mainfrom
perf/list-c1-inlining
Nov 17, 2026
Merged

rasros merged 1 commit into
mainfrom
perf/list-c1-inlining

Conversation

@rasros

@rasros rasros commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Move array growth and error-message construction out of IntArrayList and LongArrayList hot methods. On Java 17, add shrinks from 56 to 33 bytecodes and get from 37 to 24; measured-fork logs confirm C1 now inlines both. Local paired measurements show C1 gains, while fully optimized timings are too noisy to claim a general C2 speedup.

Remove all four Python files. Preserve CI smoke checks with Bash/jq and snapshot publication verification with JDK-only Java tools and offline tests. Replace the paired-script instructions with a 32-line README using direct JMH commands.

Validation: ./gradlew check lintDocs passed for the library changes; documentation/distribution validation, JDK 17 publication tests, shellcheck, actionlint, and all 77 replacement adapter smoke cases passed.

@rasros
rasros merged commit 0ced9ec into main Nov 17, 2026
1 check passed
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