diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-16 00:20:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-16 00:20:31 +0000 |
commit | 5f9c188d978d45cdeb81ec83dfdaddffe1b8996c (patch) | |
tree | 2fc7030b51f956700741175f7ed5030e6d827d08 /prec.c | |
parent | c65dc8c3b1acc07ae0d2d83012a3f353635d7eb6 (diff) | |
download | ruby-5f9c188d978d45cdeb81ec83dfdaddffe1b8996c.tar.gz |
* include/ruby/ruby.h (rb_intern_const): tiny optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'prec.c')
-rw-r--r-- | prec.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -125,6 +125,7 @@ void Init_Precision(void) { #undef rb_intern +#define rb_intern(str) rb_intern_const(str) rb_mPrecision = rb_define_module("Precision"); rb_define_singleton_method(rb_mPrecision, "included", prec_included, 1); |