Commit Graph

  • 18533face0 Add poweron architecture ppc64le to travis build (#22) master asellappen 2020-11-05 01:08:30 +05:30
  • 63d343e1f9 Update CI to use latest versions of Go (#21) Sergio Andrés Virviescas Santana 2020-10-17 11:12:25 +02:00
  • cdfbe93774 Added go1.11 module support Aliaksandr Valialkin 2018-09-05 21:22:47 +03:00
  • e746df99fe Add benchmark results (#10) v1.0.0 Kirill Danshin 2016-08-17 22:16:52 +04:00
  • 8ebd0474e5 Added missing dots in documentation Aliaksandr Valialkin 2016-07-12 09:12:50 +03:00
  • 10f802b4cd implement String() method. closes #7 (#8) Kirill Danshin 2016-07-12 09:10:16 +03:00
  • a517d2d153 Fix typo (#6) Albert 2016-07-02 00:46:08 +05:00
  • 21a4b21155 Implement io.ReaderFrom Aliaksandr Valialkin 2016-06-29 18:32:31 +03:00
  • 18b5603df3 Added io.WriterTo implementation to ByteBuffer Aliaksandr Valialkin 2016-06-29 17:48:49 +03:00
  • bf51c4698b Small refactoring (#4) Albert 2016-06-29 00:46:18 +05:00
  • a3c01bbe26 Clarified that the bytebufferpool purpose is anti-memory-waste protection Aliaksandr Valialkin 2016-06-27 16:11:40 +03:00
  • fd4be3f08f Issue #1: clarified the comment regarding CPU cache line size Aliaksandr Valialkin 2016-06-27 16:07:21 +03:00
  • c0dbba6832 Small code clarifications after #2 and #3 Aliaksandr Valialkin 2016-06-27 16:05:21 +03:00
  • c57419c995 Add Bytes function (#3) Albert 2016-06-27 18:00:15 +05:00
  • 21e406c403 Add WriteByte function (#2) Albert 2016-06-27 17:59:55 +05:00
  • 928aed2629 Renaming: Acquire->Get, Release->Put for the sake of the consistency with standard package Aliaksandr Valialkin 2016-06-24 14:57:35 +03:00
  • 5dec51fcf9 optimized index calculation Aliaksandr Valialkin 2016-06-24 14:46:58 +03:00
  • b48200dc4a Return all the byte buffers to the pool until the first calibration Aliaksandr Valialkin 2016-06-24 14:18:14 +03:00
  • ea471ff2ce Do not return buffers with too big capacity to the pool Aliaksandr Valialkin 2016-06-23 22:41:46 +03:00
  • a1c2e6cf76 Revert "Return back pools segementation by size". Aliaksandr Valialkin 2016-06-23 22:19:16 +03:00
  • 08eb8e13d0 Return back pools segementation by size Aliaksandr Valialkin 2016-06-23 22:07:48 +03:00
  • da2b103f14 Removed debug logging Aliaksandr Valialkin 2016-06-23 20:59:29 +03:00
  • 1dbe0d3c7d Drop buffers with sizes greater than 95% percentile Aliaksandr Valialkin 2016-06-23 20:58:48 +03:00
  • c0dd811f50 Atomically load pool indexes Aliaksandr Valialkin 2016-06-23 19:20:57 +03:00
  • 5f9190a306 Allocate from the most frequently used pool Aliaksandr Valialkin 2016-06-23 19:08:27 +03:00
  • ee98c9419f Keep zero-length buffers in the pool Aliaksandr Valialkin 2016-06-23 17:43:05 +03:00
  • 7e712dfeb6 Drop buffers with under-used capacity in order to reduce memory waste Aliaksandr Valialkin 2016-06-23 15:09:07 +03:00
  • 164e50ac3f renaming: AcquireByteBuffer -> Acquire, ReleaseByteBuffer -> Release Aliaksandr Valialkin 2016-06-23 11:07:55 +03:00
  • e8ad8e40ca Formatting fix Aliaksandr Valialkin 2016-06-22 20:47:40 +03:00
  • 2cfa228f2b Mention that fasthttp and quicktemplate use bytebufferpool Aliaksandr Valialkin 2016-06-22 20:39:15 +03:00
  • 21bf76e6cc Initial implementation Aliaksandr Valialkin 2016-06-22 19:36:29 +03:00