Commit graph

50 commits

Author SHA1 Message Date
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 53a0acdb4c Update readme 2021-05-08 16:43:42 -07:00
gammazero b1258a9620 update readme 2021-05-08 16:41:00 -07:00
Andrew Gillis 497d314710 Create main.yml 2021-05-08 16:41:00 -07:00
Andrew Gillis 1dfe35d318 Create go.yml 2021-05-08 16:41:00 -07:00
gammazero be20709541 New() optionally sets current and minimum capacity 2021-04-28 02:43:16 -07:00
gammazero 3932da5530 update supported go versions 2020-10-09 22:22:21 -07:00
Andrew J. Gillis 07291166fe
Update README.md 2020-07-21 13:26:02 -07:00
Andrew J. Gillis 50fa758af8
Merge pull request #9 from vejnar/set-method
Add Set method
2020-03-10 15:27:45 -07:00
vejnar 219e1ab036 Add Set tests 2020-03-10 14:58:31 -04:00
vejnar 5bbeff036c Add Set method 2020-03-10 14:56:12 -04:00
Andrew Gillis 1e9af0e52b update ci for go1.14 2020-02-27 18:13:00 -05:00
Andrew Gillis 7e84b94275 update badge 2020-01-24 15:03:22 -05:00
Andrew Gillis b630f0325c update badge 2020-01-24 14:51:54 -05:00
Andrew J. Gillis 46e4ffb7a6
Merge pull request #6 from gammazero/test-latest-go
test with latest go
2019-05-20 18:27:01 -07:00
Andrew Gillis cb6ff4f760 vet flag 2019-05-20 21:20:40 -04:00
Andrew Gillis 3afb1e7c79 test with latest go 2019-05-20 20:54:38 -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
Andrew J. Gillis 2afb3858e9
Merge pull request #4 from danrl/patch-1
Typo: remove superfluous "the"
2019-01-30 11:14:00 -08:00
Dan Lüdtke d1f9bd8f24
Typo: remove superfluous "the" 2019-01-30 17:00:09 +01:00
Andrew J. Gillis f6adf94963
Merge pull request #3 from gammazero/travis
Add go 1.11 to CI
2018-09-20 10:21:22 -07:00
Andrew Gillis c892bbebe0 Add go 1.11 to CI 2018-09-20 12:04:37 -04:00
Andrew J. Gillis e1eb5d77ca
Fix indent in README 2018-09-20 09:02:04 -07: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 c8a08926c0 reduce cyclomatic complexity of test functions 2018-05-17 10:19:32 -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 J. Gillis 198af482fd
Merge pull request #2 from gammazero/atmethod
Add At() method
2018-05-10 17:06:14 -07: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 40bcfc449d update readme 2018-05-01 00:44:09 -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 d09e6d40f5 link diagram in readme 2018-04-29 22:59:51 -04:00
Andrew Gillis bc0d5bf324 benchmark Insert and Remove 2018-04-29 18:21:27 -04:00
Andrew Gillis 91a80481f6 benchmarks 2018-04-29 13:14:04 -04:00
Andrew J. Gillis 09ca60094b
Merge pull request #1 from gammazero/insertremove
Add Insert and Remove.  No negative indexing.
2018-04-29 08:13:34 -07: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 3771637d65 update readme 2018-04-28 20:35:17 -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 J. Gillis 822a94c81c
Update README.md 2018-04-23 20:56:37 -07:00
Andrew J. Gillis b2455046b0
Create LICENSE 2018-04-23 20:10:58 -07:00
Andrew Gillis 4e0a647678 initial commit 2018-04-23 23:06:09 -04:00