DataHoarder
ef54e74e1e
Removed At/Set, added Reset
2022-01-29 00:08:16 +01:00
DataHoarder
8e6da63be2
Avoid pointer usage
2022-01-27 18:23:26 +01:00
DataHoarder
951c9e89e2
Make an integer-only deque
2022-01-27 18:14:58 +01:00
gammazero
be20709541
New() optionally sets current and minimum capacity
2021-04-28 02:43:16 -07:00
vejnar
5bbeff036c
Add Set method
2020-03-10 14:56:12 -04:00
Andrew J. Gillis
50f5fc498a
Merge pull request #5 from gammazero/new-func
...
New func to specify minimum capacity
2019-05-15 01:55:11 -07:00
Andrew Gillis
c7232d050f
set minimum capacity at anytime
2019-05-15 04:19:52 -04:00
Andrew Gillis
2ff0cd8822
New func to specify minimum capacity
...
A larger minimum capacity can be specified to avoid buffer resizing in cases
where the size frequently grows and shrinks across a wide range.
Add module support
2019-05-15 00:17:53 -04:00
Dan Lüdtke
d1f9bd8f24
Typo: remove superfluous "the"
2019-01-30 17:00:09 +01:00
Andrew Gillis
b106e3c6d0
comment
2018-05-18 16:02:14 -04:00
Andrew Gillis
270fb6f22a
fix typo in comment
2018-05-18 13:59:41 -04:00
Andrew Gillis
762b7fe760
Fix comment and golint warning. Move package comment into doc.go
2018-05-17 10:02:13 -04:00
Andrew Gillis
d00173d949
comment
2018-05-10 19:23:41 -04:00
Andrew Gillis
7d7061a1b6
Add At() method
2018-05-10 19:11:55 -04:00
Andrew Gillis
a91677b1e1
comments
2018-05-01 10:03:05 -04:00
Andrew Gillis
df31e17eb5
remove Insert(), Remove() and Get() as these encourage misuse of deque and should not be needed.
2018-05-01 00:40:54 -04:00
Andrew Gillis
bc0d5bf324
benchmark Insert and Remove
2018-04-29 18:21:27 -04:00
Andrew Gillis
c10b3dfb6c
comments
2018-04-29 11:08:00 -04:00
Andrew Gillis
c4fbbc4e44
Rename Peek to Get
2018-04-28 21:15:59 -04:00
Andrew Gillis
9d5bd04429
add Replace()
2018-04-28 20:45:48 -04:00
Andrew Gillis
e0df3df127
Add Insert and Remove. No negative indexing.
2018-04-28 20:29:52 -04:00
Andrew Gillis
61131f5ce5
comments
2018-04-24 17:51:08 -04:00
Andrew Gillis
4e0a647678
initial commit
2018-04-23 23:06:09 -04:00