From af55803d0dff9eb692c760c8d486e736c945061d Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Sat, 27 Jun 2026 00:58:05 +0200 Subject: chore: clean up comment formatting and wording --- libffwd/alloc.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libffwd/alloc.c') diff --git a/libffwd/alloc.c b/libffwd/alloc.c index 6af854a..828258e 100644 --- a/libffwd/alloc.c +++ b/libffwd/alloc.c @@ -4,10 +4,11 @@ #include #include -/* Sequence-capacity growth policy for the forward-pass workspaces: for new - * growth, never allocate fewer than the minimum, and round up to the - * granularity so small length changes do not trigger a realloc on every call. - * Existing larger capacity is preserved. */ +/* Sequence-capacity growth policy for the forward-pass workspaces: + * For new growth: + * - never allocate less than the minimum required size. + * - round up to the granularity so small length changes do not trigger a realloc on every call. + * - keep existing capacity if it is already larger. */ #define FFWD_MIN_WORKSPACE_SEQ_CAP 16 #define FFWD_WORKSPACE_SEQ_GRANULARITY 16 -- cgit v1.3.1