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

Simplified istream handing #367 #764

Merged
merged 18 commits into from
Oct 22, 2017
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
90adf6e
Simplify get_token_string, unnecessary buffering, handle Byte Order Mark
pjkundert Oct 2, 2017
f585fe4
Test to confirm parsing of multiple JSON records in a istream #367
pjkundert Oct 2, 2017
12efead
Further simplify istream handling; use native unget
pjkundert Oct 3, 2017
14ca1f6
Restore istream performance #764
pjkundert Oct 3, 2017
7c52333
Remove unnnecessary NUL termination of yytext (as it may contain NULs)
pjkundert Oct 4, 2017
97a3888
Improve performance by constructing yytext as a std::string
pjkundert Oct 4, 2017
e0d890c
Corrected unnnecessary const restriction on returned std::string
pjkundert Oct 4, 2017
8665e25
Rename get_string to move_string to imply side-effect
pjkundert Oct 4, 2017
546e148
Further performance improvements, and corrections in get_token_string
pjkundert Oct 4, 2017
f775922
Specify initializers for yytest, token_string using initializer-lists
pjkundert Oct 4, 2017
184dab6
Accelerate access to underlying std::istream streambuf
pjkundert Oct 5, 2017
1b43a45
Implement correct handling of std::streambuf int_type, eof()
pjkundert Oct 5, 2017
5e480b5
Further simplify character type handling
pjkundert Oct 6, 2017
45e1e3d
Revert some unnecessary member initializer changes.
pjkundert Oct 6, 2017
23440eb
Remove outdated commentary about the value of eof(), retain input type
pjkundert Oct 6, 2017
0b803d0
Simplify the json/src/benchmarks.cpp to allow more optimal code gen.
pjkundert Oct 7, 2017
a8cc7a1
Consistently use std::char_traits int_type-->char conversion intrinsics
pjkundert Oct 16, 2017
ef40673
Merge branch 'develop' into develop-simplify-istream
nlohmann Oct 22, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading