CE improve editor performace by reducing amount of copying
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m31s

This commit is contained in:
2026-03-06 21:59:41 +01:00
parent eb3238bf85
commit 49059f4bfa
4 changed files with 45 additions and 53 deletions

View File

@@ -29,14 +29,8 @@ void gapbuffer_backspace (struct gapbuffer* gb);
void gapbuffer_grow (gb_realloc_func_t reallocfn, void* ctx, struct gapbuffer* gb);
char* gapbuffer_get_string (gb_malloc_func_t mallocfn, void* ctx, struct gapbuffer* gb);
size_t gapbuffer_length (struct gapbuffer* gb);
char* gapbuffer_string_at (gb_malloc_func_t mallocfn, void* ctx, struct gapbuffer* gb, size_t pos);
char gapbuffer_at (struct gapbuffer* gb, size_t index);
void gapbuffer_delete_at (struct gapbuffer* gb, size_t index);
#endif // _GAPBUFFER_H