Closed sean- closed 1 year ago
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.