Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

WriteList.Write mallocs on heap #1

Closed
h33p opened this issue Oct 5, 2018 · 1 comment
Closed

WriteList.Write mallocs on heap #1

h33p opened this issue Oct 5, 2018 · 1 comment

Comments

@h33p
Copy link
Owner

h33p commented Oct 5, 2018

WriteList performs heap allocations when queueing data to be written. The solution to this problem is to hold an expandable buffer that would keep the written data tightly packed without constantly querying the heap and improving the cache performance.

@h33p
Copy link
Owner Author

h33p commented Oct 5, 2018

Fixed in 03e1249.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant