aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-10 18:16:58 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-10 18:16:58 +0000
commit962c461eed311947ec567c2cf6caf0474b883306 (patch)
tree77e3aa5faf66c91f9114385ecaed2053bb41d0f7 /.gitignore
parentfbc39bf28b26c0d01a175866c4872f39323b3943 (diff)
downloadruby-962c461eed311947ec567c2cf6caf0474b883306.tar.gz
time.c: use predefined IDs
This reduces rb_intern calls during startup and shortens code. * time.c: include id.h for predefined IDs (id_mul, id_eq, id_ne, id_cmp): remove static variables (eq): replace id_eq with idEq (cmp, wcmp): replace id_cmp with idCmp (weq): replace id_eq with idEq (time_timespec): replace id_mul with '*' (Init_Time): remove rb_intern calls for removed variables * common.mk (time.$(OBJEXT)): add depend on id.h git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions