diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2020-11-27 22:46:01 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2020-11-27 23:06:40 -0800 |
commit | 122cd35939ddf8ef7bfa17ad75570c01d0cf06ab (patch) | |
tree | 99312201b420877bb73698133e57aff3114b7cbd /regparse.c | |
parent | 95bef7b69a6fb42687a6200b338060be307259f5 (diff) |
Throttle unload_units
Because d80226e7bd often reduces the number of unloaded units, it
increases the number of unload_units calls, which are heavy.
To mitigate that, this throttles unload_units per `max_cache_size / 10`.
Also hoping to fix
https://ci.appveyor.com/project/ruby/ruby/builds/36552382/job/kjmjgw9cjyf2ksd7
Diffstat (limited to 'regparse.c')
0 files changed, 0 insertions, 0 deletions