Skip to content

[GR-79954] Cache C API character singletons. - #1179

Merged
graalvmbot merged 1 commit into
masterfrom
fa/GR-79954/cache_unicode_ordinals
Sep 30, 2026
Merged

graalvmbot merged 1 commit into
masterfrom
fa/GR-79954/cache_unicode_ordinals

Conversation

@graalvmbot

Copy link
Copy Markdown
Collaborator

We already cached single-byte bytes objects. Now, also doing this for single-character unicode objects (as CPython does).
Also change the initialization: Previously, we did 256 upcalls for each different object. Now, we bulk the initialization.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 30, 2026
@graalvmbot
graalvmbot merged commit 7a4313d into master Sep 30, 2026
42 of 44 checks passed
@graalvmbot
graalvmbot deleted the fa/GR-79954/cache_unicode_ordinals branch September 30, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants