summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2022-08-08 11:14:05 +0200
committerJean Boussier <jean.boussier@gmail.com>2022-08-08 15:15:33 +0200
commit1cb77f23046dbfd14703241e82bed2bcd69bf6a1 (patch)
tree440fd2b78b0217eb95c16d6c91f9d8ada270a28a /enum.c
parent289d219758336e1e1d8afe36255fe06079d8daeb (diff)
Update IO::Buffer#get_value benchmark
- The method was renamed from `get` to `get_value` - Comparing to `String#unpack` isn't quite equivalent, `unpack1` is closer. - Use frozen_string_literal to avoid allocating a format string every time. - Use `N` format which is equivalent to `:U32` (`uint_32_t` big-endian). - Disable experimental warnings to not mess up the output.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6221
Diffstat (limited to 'enum.c')
0 files changed, 0 insertions, 0 deletions