summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2024-11-26 09:22:16 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-11-27 09:24:07 +0900
commitd5de1a57893b16aff7bc3336b34fa2e9acefb3d2 (patch)
tree26ce7fb7ce7827d7e5178d68c22179415d178c96 /include
parenta041a6c1b5c3fd05f5aeeb15d83cfe7a68570852 (diff)
[ruby/strscan] Implement #scan_integer to efficiently parse Integer
(https://github.com/ruby/strscan/pull/115) Fix: https://github.com/ruby/strscan/issues/113 This allows to directly parse an Integer from a String without needing to first allocate a sub string. Notes: The implementation is limited by design, it's meant as a first step, only the most straightforward, based 10 integers are supported. https://github.com/ruby/strscan/commit/6a3c74b4c8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions