summaryrefslogtreecommitdiff
path: root/symbol.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-27 06:16:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-27 06:16:16 +0000
commitfc9fffca1d4f44d740a726db00d9ef3c9cca1312 ()
treebdd8ab9566d7fa1be365dc47f78282ddca74b47a /symbol.h
parentce9fc203d1e7cd97d68fab6e10733bd62f065c5a (diff)
symbol.h: optimize ID2SYM
* symbol.h (rb_id2sym): optimize for predefined IDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--symbol.h9
1 files changed, 9 insertions, 0 deletions
@@ -14,6 +14,15 @@
#include "id.h"
struct RSymbol {
struct RBasic basic;
VALUE fstr;