Bob Nystrom
731e1f4b1d
feat: replace public byteAt with private byteAt_ and add O(1) bytes.count
...
Remove the public `byteAt(_)` method from String and its ByteSequence wrapper, renaming it to the private `byteAt_(_)` to eliminate redundancy with `.bytes[_]`. Add a native `byteCount_` primitive on String and expose it as `count` on StringByteSequence, enabling O(1) byte length queries. Update all test files to use the new `.bytes` subscript API and add a dedicated `count.wren` test for the new functionality.
2015-09-11 06:52:18 +00:00
..
2015-07-10 16:18:22 +00:00
2015-07-10 16:18:22 +00:00
2015-09-01 15:16:04 +00:00
2015-09-01 15:16:04 +00:00
2015-03-14 19:45:56 +00:00
2015-09-01 15:16:04 +00:00
2015-09-01 15:16:04 +00:00
2015-07-10 16:18:22 +00:00
2015-09-01 15:16:04 +00:00
2015-07-21 14:24:53 +00:00
2015-03-26 14:17:09 +00:00
2015-07-10 16:18:22 +00:00
2015-03-14 19:45:56 +00:00
2015-09-01 15:16:04 +00:00
2015-09-01 15:16:04 +00:00
2015-07-10 16:18:22 +00:00
2015-08-31 14:23:36 +00:00
2015-03-14 19:45:56 +00:00
2015-08-31 14:23:36 +00:00
2015-09-01 15:16:04 +00:00
2015-03-23 13:48:08 +00:00
2015-09-01 15:16:04 +00:00
2015-03-14 19:45:56 +00:00
2015-08-21 05:04:42 +00:00
2015-09-01 15:16:04 +00:00
2015-09-01 15:16:04 +00:00
2015-03-14 19:45:56 +00:00
2015-09-01 15:16:04 +00:00
2015-09-11 06:52:18 +00:00
2015-09-01 15:16:04 +00:00
2015-09-01 15:16:04 +00:00
2015-09-01 15:16:04 +00:00
2015-07-10 16:18:22 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00