aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-18 14:03:28 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-18 14:53:52 +0900
commit095cdca15b430fb5973b1540d92a29598552adba (patch)
treee4c86bbc1ca40d22b4e31851c3bdd60267a2f94c /template
parentce7942361d1f1f9a1ca958b6979a432da2014683 (diff)
downloadruby-095cdca15b430fb5973b1540d92a29598552adba.tar.gz
Make weakmap finalizer an ifunc lambda
Simple comparison between proc/ifunc/method invocations: ``` proc 15.209M (± 1.6%) i/s - 76.138M in 5.007413s ifunc 15.195M (± 1.7%) i/s - 76.257M in 5.020106s method 9.836M (± 1.2%) i/s - 49.272M in 5.009984s ``` As `proc` and `ifunc` have no significant difference, chosen the latter for arity check.
Diffstat (limited to 'template')
0 files changed, 0 insertions, 0 deletions