Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Clean up parametrized buffers #12

Open
bhelabhav opened this issue Oct 29, 2014 · 0 comments
Open

Clean up parametrized buffers #12

bhelabhav opened this issue Oct 29, 2014 · 0 comments

Comments

@bhelabhav
Copy link
Member

int doSomething(int h, char *buf);

We should only have to pass in a buf to: avoid recreating buffers everytime, or we need a return value in the buf.

We should consider removing some of the passed in buf parameters for readability. It does not affect our FS performance since that is measured in disk accesses, and not in the amount of virtual memory we consume.

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

No branches or pull requests

1 participant