Skip to content
Snippets Groups Projects
Unverified Commit 507316b5 authored by Bart de Boer's avatar Bart de Boer Committed by GitHub
Browse files

Update First(n int) to read no more data than necessary (#199)


First(N) now closes its output after it has read N lines, terminating the pipe 
without consuming unnecessary further input (apart from the 4KiB scanner 
buffer).

Co-authored-by: default avatarJohn Arundel <john@bitfieldconsulting.com>
parent cfa12bb2
Branches
Tags v0.22.1
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment