Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate old monkeys #979

Merged
merged 3 commits into from
Dec 4, 2024
Merged

Conversation

eggrobin
Copy link
Member

@eggrobin eggrobin commented Nov 29, 2024

@eggrobin eggrobin requested a review from markusicu December 2, 2024 14:48
@eggrobin eggrobin marked this pull request as ready for review December 2, 2024 14:48
new UnicodeSet(
value,
parsePosition,
IndexUnicodeProperties.make().getXSymbolTable());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this symbol table worth caching? Or cached already?
Rather than fetching it each time?

Copy link
Member Author

@eggrobin eggrobin Dec 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The XSymbolTable is a pretty lightweight object. The IndexUnicodeProperties created by make is cached, and the hard work is done lazily when doing a query for a set on an actual UnicodeProperty (and cached in the IndexUnicodeProperties).

@markusicu
Copy link
Member

@macchiati @aheninger FYI

@eggrobin eggrobin merged commit 8459b0b into unicode-org:main Dec 4, 2024
23 of 24 checks 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.

2 participants