Skip to content

Commit

Permalink
Revert "perf: use buffered output"
Browse files Browse the repository at this point in the history
This reverts commit 27ea884.
  • Loading branch information
adrienaury committed Sep 29, 2023
1 parent 27ea884 commit c745af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/infra/datarowreader_jsonline.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func NewDataRowReaderJSONLineFromFile(filename string) (*DataRowReaderJSONLine,
}

func NewDataRowReaderJSONLine(input io.Reader, output io.Writer) *DataRowReaderJSONLine {
return &DataRowReaderJSONLine{input: bufio.NewScanner(input), output: bufio.NewWriter(output)}
return &DataRowReaderJSONLine{input: bufio.NewScanner(input), output: output}
}

func (drr *DataRowReaderJSONLine) ReadDataRow() (mimo.DataRow, error) {
Expand Down

0 comments on commit c745af2

Please sign in to comment.