summaryrefslogtreecommitdiff
path: root/include/ruby/internal/arithmetic/char.h
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-05-29 17:42:23 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-06-02 12:38:01 +0900
commit40ced763b4f97dd3bc3abfd4cb16580f7cf8e898 (patch)
treed749c82c65a835e350bd5ffcd0100c886d04e859 /include/ruby/internal/arithmetic/char.h
parent27bef648629760ffeda569057ddef6fb3be64b9a (diff)
vm_insnhelper.c: merge opt_eq_func / opt_eql_func
These two function were almost identical, except in case of T_STRING/T_FLOAT. Why not merge them into one, and let the difference be handled in normal method calls (slowpath). This does not improve runtime performance for me, but at least reduces for instance rb_eql_opt from 653 bytes to 86 bytes on my machine, according to nm(1).
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3169
Diffstat (limited to 'include/ruby/internal/arithmetic/char.h')
0 files changed, 0 insertions, 0 deletions