Skip to content

feat: allow strOut argument to fsst_compress to be NULL - #47

Open
mhx wants to merge 1 commit into
cwida:masterfrom
mhx:mhx/allow-compress-strout-null
Open

feat: allow strOut argument to fsst_compress to be NULL#47
mhx wants to merge 1 commit into
cwida:masterfrom
mhx:mhx/allow-compress-strout-null

Conversation

@mhx

@mhx mhx commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

The contents of strOut are strictly redundant as long as the lengths in lenOut are known. For long lists of strings, having to allocate a large buffer that is essentially going to be unused is something that should not be forced upon the user. The overhead for the additional check should be negligible even in the case where the pointer array is actually used.

The contents of `strOut` are strictly redundant as long as the lengths
in `lenOut` are known. For long lists of strings, having to allocate a
large buffer that is essentially going to be unused is something that
should not be forced upon the user. The overhead for the additional
check should be negligible even in the case where the pointer array is
actually used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant