Search
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby
All Projects
Ruby
Overview
Activity
Roadmap
Issues
Repository
Like
«
Previous
|
Next
»
Revision 1cb77f23
Added by
byroot (Jean Boussier)
almost 3 years
ago
ID
1cb77f23046dbfd14703241e82bed2bcd69bf6a1
Parent
289d2197
Child
a24c607e
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.
Loading...
Update IO::Buffer#get_value benchmark
get
toget_value
String#unpack
isn't quite equivalent,unpack1
is closer.N
format which is equivalent to:U32
(uint_32_t
big-endian).