]> Cypherpunks.ru repositories - balloon.git/commit
Performance optimizations
authorSergey Matveev <stargrave@stargrave.org>
Fri, 18 Jan 2019 22:23:31 +0000 (01:23 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 18 Jan 2019 22:23:59 +0000 (01:23 +0300)
commit9a1a4ae452c536a3523b31269697c85479465b87
tree8c456bc8c10cf1b3f4c306f5c763f275955d0d6c
parenta99df269679e4463bcd0cb816ddd46c5bfe04cee
Performance optimizations

* Use single large slice for buffer, instead of many smaller ones
* Less integer-format conversions
* Use SHA512 instead of SHA256 in tests for speed
balloon.go
balloon_test.go