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

Lazy initialize the emoji pattern #13

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

freya022
Copy link
Contributor

@freya022 freya022 commented Nov 8, 2023

I feel like this pattern won't be used by many users, and thus it would give a small benefit to not initialize it until the user requests it

Also, while it doesn't take too long to construct the pattern, it does consume 649KB of memory, as seen on VisualVM
image

@felldo
Copy link
Owner

felldo commented Nov 9, 2023

I agree, that this is probably not used by a majority of the users. Thanks for the suggestion :)

@felldo felldo merged commit fdc47e3 into felldo:master Nov 9, 2023
1 check passed
@freya022 freya022 deleted the feature/lazy-emoji-pattern branch November 9, 2023 14:43
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