Skip to content

pass 'self' by pointer instead of by value in ensureUnusedCapacity().… - #3

Open
wc-duck wants to merge 1 commit into
jedisct1:mainfrom
wc-duck:main
Open

pass 'self' by pointer instead of by value in ensureUnusedCapacity().…#3
wc-duck wants to merge 1 commit into
jedisct1:mainfrom
wc-duck:main

Conversation

@wc-duck

@wc-duck wc-duck commented Aug 16, 2026

Copy link
Copy Markdown

… Not doing this can cause exhaustive copying of memory leading to horrible performance.

It should be noted here that I'm a real 'zig' beginner so there might be other ways that this should be addressed? But profiling my own application I see that this function takes an exuberant amount of time for what it does.

… Not doing this can cause exhaustive copying of memory leading to horrible performance.
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