summaryrefslogtreecommitdiff
path: root/test/ruby/test_thread_queue.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2023-12-27 16:55:03 +0900
committergit <svn-admin@ruby-lang.org>2024-10-17 08:54:46 +0000
commitfb84aa550183dd923d287779c242a12f81e17493 (patch)
tree636b31ba6e754a49bf9f1950c52482e6b899989a /test/ruby/test_thread_queue.rb
parent3911189fba46714eec886452b934258e001dd12b (diff)
[ruby/json] Directly use `generate_json_string` for object keys
... instead of `generate_json`. Since the object key is already confirmed to be a string, using a generic dispatch function brings an unnecessary overhead. This speeds up `JSON.generate` by about 3% in a benchmark. https://github.com/ruby/json/commit/e125072130
Diffstat (limited to 'test/ruby/test_thread_queue.rb')
0 files changed, 0 insertions, 0 deletions