-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
memoize various read-only arrays #139
Conversation
… keys aren't guaranteed to be stable
LGTM, this is an excellent catch and improvement. |
Congratulations for your first contribution 🎉 I'll follow up on this topic and start to check benchmarks on generators performance. |
Changes released in v1.18.0 |
There's some other low-hanging fruit in the following two that I expect to take a pass at, too, if they end up being critical (vs just inefficient):
|
Description
Cache array operations to reduce memory utilization and CPU time associated with heap management. faker is now no longer in the hot path when generating random data.