Skip to content

Remove buffer limits in Util::vformat#555

Closed
Un1q32 wants to merge 4 commits intonbcraft-org:masterfrom
Un1q32:master
Closed

Remove buffer limits in Util::vformat#555
Un1q32 wants to merge 4 commits intonbcraft-org:masterfrom
Un1q32:master

Conversation

@Un1q32
Copy link
Contributor

@Un1q32 Un1q32 commented Mar 7, 2026

closes #550

This is a lot less efficient since we run snprintf twice, there is no other way around this.
@bluepilledgreat Do we even want this? If 1024 isn't enough we can just make it 2048 or 4096 instead, running printf twice is inefficient.

@bluepilledgreat
Copy link
Contributor

This is slower than other implementations atm

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.

Remove hard-coded buffer limit in Util::vformat

2 participants