mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
46007b88af
Previously we cleared the cache for all the code in the system when we flip memory protection, which was prohibitively expensive since the operation is not constant time. Instead, only clear the cache for the memory region of newly written code when we write out new code. This brings the runtime for the 30k_if_else test down to about 6 seconds from the previous 45 seconds on my laptop. |
||
---|---|---|
.. | ||
src | ||
Cargo.lock | ||
Cargo.toml |