storj/pkg/eestream
Kaloyan Raev 7d1bd090f8
Optimize DecodeReader performance (#256)
* Optimize DecodeReader performance

* A little bit better locking in PieceBuffer.Write

* Fix race issues

* Better fix for race condition in rs_test.go

* Improve PieceBuffer.Read to read the max available in one call

* PieceBuffer.Skip for more efficient discarding of old shares

* Rename bytesRead to nn

* Notify cvNewData only if a complete new share is available

* Small correction in PieceBuffer.Read

* Rename some fields to have longer names
2018-08-24 16:06:27 +03:00
..
mocks Node Identity (#193) 2018-08-13 10:39:45 +02:00
aesgcm_test.go AES GCM implementation and unit test code (#19) 2018-05-15 18:11:03 +03:00
aesgcm.go AES GCM implementation and unit test code (#19) 2018-05-15 18:11:03 +03:00
bits_test.go eestream: make secretbox example harder to fall victim to nonce reuse 2018-04-16 06:52:23 -06:00
bits.go eestream: make secretbox example harder to fall victim to nonce reuse 2018-04-16 06:52:23 -06:00
common.go pkg/eestream: initial 2018-04-11 07:46:34 -06:00
crc_test.go ECClient pads data to fit RS block size (#199) 2018-08-06 17:24:30 +03:00
decode.go Optimize DecodeReader performance (#256) 2018-08-24 16:06:27 +03:00
encode.go Optimize DecodeReader performance (#256) 2018-08-24 16:06:27 +03:00
pad_test.go ECClient pads data to fit RS block size (#199) 2018-08-06 17:24:30 +03:00
pad.go ECClient pads data to fit RS block size (#199) 2018-08-06 17:24:30 +03:00
piecebuf.go Optimize DecodeReader performance (#256) 2018-08-24 16:06:27 +03:00
rs_test.go Optimize DecodeReader performance (#256) 2018-08-24 16:06:27 +03:00
rs.go pkg/eestream: initial 2018-04-11 07:46:34 -06:00
secretbox_test.go HTTP Ranger (#11) 2018-04-17 07:39:14 -06:00
secretbox.go eestream: make secretbox example harder to fall victim to nonce reuse 2018-04-16 06:52:23 -06:00
stripe.go Optimize DecodeReader performance (#256) 2018-08-24 16:06:27 +03:00
transform_test.go ECClient pads data to fit RS block size (#199) 2018-08-06 17:24:30 +03:00
transform.go ECClient pads data to fit RS block size (#199) 2018-08-06 17:24:30 +03:00