Skip to content

Commit

Permalink
Merge pull request #451 from Shopify/ruby-interned-str
Browse files Browse the repository at this point in the history
Use `rb_enc_interned_str` if available
  • Loading branch information
nurse committed Jan 17, 2021
2 parents ccea167 + 1982070 commit ce14bf6
Show file tree
Hide file tree
Showing 4 changed files with 3,040 additions and 1,842 deletions.
1 change: 1 addition & 0 deletions ext/json/ext/parser/extconf.rb
Expand Up @@ -2,6 +2,7 @@
require 'mkmf'

have_func("rb_enc_raise", "ruby.h")
have_func("rb_enc_interned_str", "ruby.h")

# checking if String#-@ (str_uminus) dedupes... '
begin
Expand Down

0 comments on commit ce14bf6

Please sign in to comment.