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

peek: Add Unsafe.peek parser #119

Merged
merged 1 commit into from
Jan 7, 2018
Merged

peek: Add Unsafe.peek parser #119

merged 1 commit into from
Jan 7, 2018

Conversation

seliopou
Copy link
Member

@seliopou seliopou commented Jan 6, 2018

This parser can be used for efficient look-ahead, which also doesn't allocate in the fast path.

This parser can be used for efficient lookahead, which also doesn't
allocate in the fast path.
@hcarty
Copy link
Collaborator

hcarty commented Jan 6, 2018

Looks good to me. Should the buffer reference comment be added to the other functions as well?

@seliopou
Copy link
Member Author

seliopou commented Jan 7, 2018

The best thing may be to just put that comment in the docstring for the submodule?

@seliopou seliopou merged commit 712f3cd into master Jan 7, 2018
@hcarty
Copy link
Collaborator

hcarty commented Jan 7, 2018

Agreed re: submodule comment.

@seliopou seliopou deleted the peek branch January 7, 2018 16:23
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.

2 participants