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

Add (*Reader).CopyNext(w) (int64, error) #167

Merged
merged 6 commits into from
Dec 13, 2016

Commits on Nov 11, 2016

  1. Add (*Reader).CopyNext(w) (int64, error)

    It is useful to be able to efficiently copy objects without
    decoding them.
    
    My use case is filtering when I already know the indices of
    the objects I want to keep, and for rewriting a dictionary
    of objects as a column of objects.
    pwaller committed Nov 11, 2016
    Configuration menu
    Copy the full SHA
    5ca5615 View commit details
    Browse the repository at this point in the history
  2. Remove ReadNext

    pwaller committed Nov 11, 2016
    Configuration menu
    Copy the full SHA
    2684df0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e5aa905 View commit details
    Browse the repository at this point in the history
  4. Remove unused ReadNextError

    pwaller committed Nov 11, 2016
    Configuration menu
    Copy the full SHA
    37ba031 View commit details
    Browse the repository at this point in the history
  5. Remove commented code

    pwaller committed Nov 11, 2016
    Configuration menu
    Copy the full SHA
    eef5f70 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2016

  1. small fixup

    - only call (*Reader).Next() when we're sure it won't realloc its buffer
    - promote io.ErrUnexpectedEOF to msgp.ErrShortBytes
    philhofer committed Dec 13, 2016
    Configuration menu
    Copy the full SHA
    bd807ca View commit details
    Browse the repository at this point in the history