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

fast path for decoders #1

Open
andrewchambers opened this issue Jan 2, 2020 · 0 comments
Open

fast path for decoders #1

andrewchambers opened this issue Jan 2, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@andrewchambers
Copy link
Owner

We can use an abstract type to encode type decoders that don't require the initial buffer copy. It would just be a function pointer that takes in a char* and length, and returns a Janet.

This would be especially useful for number types.

@andrewchambers andrewchambers added the enhancement New feature or request label Jan 2, 2020
@andrewchambers andrewchambers changed the title fast path decoders fast path for decoders Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant