Replies: 1 comment
-
There is only |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I notice the mz_stream_mem_set_size performance dramatically slow down when writing a lot entries. In my test code I wrote out more than 650000 entries with

mz_zip_writer_close_entry
and it finally called this function.After profiling my understanding is the buffer size is continuously out of usage, so the
mz_stream_mem_set_size
continuouslly allocate new buffer, copy old buffer values, deallocate the old buffer.So question: Is there any API can control the memory management mechanism? Like allocate a larger buffer at very beginning? or allocate more spaces in each iterator?
Beta Was this translation helpful? Give feedback.
All reactions