Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace memcpy in library #17

Open
IndujaS opened this issue Jul 13, 2017 · 1 comment
Open

Replace memcpy in library #17

IndujaS opened this issue Jul 13, 2017 · 1 comment

Comments

@IndujaS
Copy link
Contributor

IndujaS commented Jul 13, 2017

Replace memcpy with something less expensive.

@alistairking
Copy link
Member

We could still consider looking into this.

For example, the user could provide a "read" callback function pointer that the library uses in place of memcpy. This would allow users reading directly from a socket or file to avoid first reading to a buffer and then having us do another copy into the parsed structure.

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

No branches or pull requests

2 participants