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 --- hash.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hash.c') diff --git a/hash.c b/hash.c index bb43ccb034..9e0831d2e3 100644 --- a/hash.c +++ b/hash.c @@ -2597,6 +2597,7 @@ void Init_Hash(void) { #undef rb_intern +#define rb_intern(str) rb_intern_const(str) id_hash = rb_intern("hash"); id_yield = rb_intern("yield"); -- cgit v1.2.3