add missing details on modifications, MinIO copyright

argon2, csvparser forked projects added some details
on modifications, MinIO copyright.

Signed-off-by: Harshavardhana <harsha@minio.io>
This commit is contained in:
Harshavardhana
2021-04-23 16:23:18 -07:00
parent 799691eded
commit 7c8d83ec92
2 changed files with 27 additions and 4 deletions

View File

@@ -49,6 +49,25 @@
//
// {`Multi-line
// field`, `comma is ,`}
//
// Copyright 2021 MinIO, Inc. All rights reserved.
// forked from https://golang.org/pkg/encoding/csv
// modified to be used with MinIO under GNU Affero General
// Public License 3.0 license that can be found in
// the LICENSE file.
//
// Main modifications include
// - Configurable 'quote' parameter
// - Performance improvements
// benchmark old ns/op new ns/op delta
// BenchmarkRead-8 2807 2189 -22.02%
// BenchmarkReadWithFieldsPerRecord-8 2802 2179 -22.23%
// BenchmarkReadWithoutFieldsPerRecord-8 2824 2181 -22.77%
// BenchmarkReadLargeFields-8 3584 3371 -5.94%
// BenchmarkReadReuseRecord-8 2044 1480 -27.59%
// BenchmarkReadReuseRecordWithFieldsPerRecord-8 2056 1483 -27.87%
// BenchmarkReadReuseRecordWithoutFieldsPerRecord-8 2047 1482 -27.60%
// BenchmarkReadReuseRecordLargeFields-8 2777 2594 -6.59%
package csv
import (