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

@ -35,11 +35,15 @@
// [1] https://github.com/P-H-C/phc-winner-argon2/blob/master/argon2-specs.pdf
// [2] https://tools.ietf.org/html/draft-irtf-cfrg-argon2-03#section-9.3
//
// This package is a fork of golang.org/x/crypto/argon2 adding support for
// sync.Pool reusable buffers to avoid large memory build up with frequent
// allocations done by memory hard PBKDF.
// Copyright 2021 MinIO, Inc. All rights reserved.
// forked from https://golang.org/x/crypto/argon2
// modified to be used with MinIO under GNU Affero General
// Public License 3.0 license that can be found in
// the LICENSE file.
//
// All the changes are governed by the LICENSE file MinIO project.
// Modification here specifically adds sync.Pool reusable buffers to
// avoid large memory build up with frequent
// allocations done by memory hard PBKDF.
package argon2
import (

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 (