Watch
1
1
Fork
You've already forked go-packer
0
Code Issues 7 Pull requests Projects Releases Packages Wiki Activity Pipelines

remove growBuf from local datastore #13

Open
opened 2026-11-04 09:33:06 +00:00 by PatrikBures · 1 comment
Owner

the buf should not grow as the updated buf is not sent back, making it use more unknown ram. the app using the library should ensure the buffer is big enough for a chunk.

though that could make it so there is no room for the prefix, so for the prefix it would be better to have an array where the prefix would be read into, and then the chunk data would be read into the buf.

the buf should not grow as the updated buf is not sent back, making it use more unknown ram. the app using the library should ensure the buffer is big enough for a chunk. though that could make it so there is no room for the prefix, so for the prefix it would be better to have an array where the prefix would be read into, and then the chunk data would be read into the buf.
Author
Owner

or the prefix could be entirely removed?

or the prefix could be entirely removed?
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
PatrikBures/go-packer#13
No description provided.