From 5f9c188d978d45cdeb81ec83dfdaddffe1b8996c Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 16 Aug 2008 00:20:31 +0000 Subject: * 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 --- object.c | 1 + 1 file changed, 1 insertion(+) (limited to 'object.c') diff --git a/object.c b/object.c index e4fcf77752..3c95ef9515 100644 --- a/object.c +++ b/object.c @@ -2428,6 +2428,7 @@ void Init_Object(void) { #undef rb_intern +#define rb_intern(str) rb_intern_const(str) VALUE metaclass; -- cgit v1.2.3