Major changes to api and structure.

- Remove newline caching
- limit petal sizes
- make public facing api use points only
- fix iterators (chunk & line)
This commit is contained in:
2026-08-02 11:07:04 +01:00
parent 89b24a7488
commit 51e193d28b
16 changed files with 355 additions and 422 deletions
+1 -3
View File
@@ -4,8 +4,6 @@
struct Buffer {
virtual const char *read(uint32_t pos, uint32_t *out_len) = 0;
virtual uint32_t count_lines(uint32_t pos, uint32_t length) = 0;
virtual uint32_t next_newline(uint32_t pos) = 0;
virtual uint32_t nth_newline(uint32_t pos, uint32_t n) = 0;
virtual inline uint32_t length() = 0;
virtual ~Buffer() = default;
};