diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-10 23:37:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-10 23:37:08 +0000 |
commit | 4068d9089adca488546c7ff8b59118eb47a3ade0 (patch) | |
tree | 7f46838fa427ea151a6f93973367522ef3ac44dd /ext/digest/sha2 | |
parent | 11ac08676d0505e79663fe01c274e37df1d41408 (diff) | |
download | ruby-4068d9089adca488546c7ff8b59118eb47a3ade0.tar.gz |
digest: no ID cache
* ext/digest/*/*init.c: no need to cache interned IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/sha2')
-rw-r--r-- | ext/digest/sha2/sha2init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/sha2/sha2init.c b/ext/digest/sha2/sha2init.c index 8a5faeee57..7b39bda649 100644 --- a/ext/digest/sha2/sha2init.c +++ b/ext/digest/sha2/sha2init.c @@ -41,7 +41,7 @@ Init_sha2(void) rb_require("digest"); - id_metadata = rb_intern("metadata"); + id_metadata = rb_intern_const("metadata"); mDigest = rb_path2class("Digest"); cDigest_Base = rb_path2class("Digest::Base"); |