-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
codec: add buffered reading/writing support and overall cleanup and f…
…ixes test: add testNumRepeatString flag: default=8, with testlargestrings using value of 32 simplify io.RW handlers support buffered reading and writing when configured - support buffered writing of io.Writer leveraging WriterBufferSize - support ReaderBufferSize by implementing a bufioDecReader optimized for codec. we couldn't use bufio.Reader because it didn't expose the underlying byte buffer which we need for search methods of decReader i.e. skip, readTo and readUntil - add tests test: cleanup and re-organization around build tags - changed build tag: codecbench to generated - moved generated files to their dedicated files, to only be built as needed - separated bench suites into: Codec, X, CodecX and CodecXGen
- Loading branch information
Showing
10 changed files
with
842 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.