| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Various small iterator improvementswork-branch | 2025-05-13 | 1 | -9/+46 | |
| | | |||||
| * | Add reverse CodePoint iterator | 2025-05-09 | 1 | -6/+75 | |
| | | |||||
| * | refactor CodePoint.Iterator into a reusable fn | 2024-07-05 | 1 | -57/+79 | |
| | | | | | | | without changing the algorithm at all, move the responsibility of decoding a u8 slice out of the iterator, and into a reusable function so that it can be used by consumers of the library | ||||
| * | codepoint: prevent panic when last cp too short | 2024-06-10 | 1 | -0/+11 | |
| | | | | | | | | | | | | If the last codepoint in a byte slice is incomplete (IE has a length of 3 but there are only 2 bytes remaining), the iterator will panic. Instead of panicking, prefer to return a replacement character. This strategy is similar to that in the block just above which returns a replacement character if the first byte is not valid. In this latter block, we also consume only one byte and allow the iterator to continue. This allows for sections of text which may have a single byte incorrect near the end of the slice. | ||||
| * | Back to zg code_point. 4ms faster than Ghostty's Utf8Decoder | 2024-02-18 | 1 | -29/+39 | |
| | | |||||
| * | Code point code is now a method not a field. | 2024-02-18 | 1 | -39/+29 | |
| | | |||||
| * | Code point and grapheme are now namespaces. | 2024-02-18 | 1 | -0/+85 | |