aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* Setup stub fuzz and benchmark test filesEuAndreh2025-01-225-0/+77
* WIP: Turn cmd/santa-example into functional testEuAndreh2025-01-223-19/+30
* Unify code into default repo formatEuAndreh2025-01-2218-2149/+2282
* Setup Makefile build skeletonEuAndreh2025-01-227-0/+253
* Remove unused filesEuAndreh2025-01-2213-397/+0
* Merge branch 'generic-immutable'Matt Joiner2022-12-215-91/+102
|\
| * Remove unnecessary value type for SetsMatt Joiner2022-12-211-14/+13
| * New go doc formattingMatt Joiner2022-12-211-19/+19
| * Update immutable to use comparable key constraintsMatt Joiner2022-12-213-18/+21
| * Add go test CI action•••(cherry picked from commit d96e8113fca5e328319c0971f6d977cc467f6b6c) Matt Joiner2022-10-271-0/+23
| * Mostly fix compatibility with immutable v0.4.0•••List has to be dropped because type aliases are not allowed for generic types. There's an outstanding issue that Set can't contain pointer values. https://github.com/benbjohnson/immutable/issues/25 I would abandon this package altogether, but there's no Set type in immutable, and its comparer and hasher types are more boilerplate than I want. Matt Joiner2022-10-274-78/+185
* | Move direct dep out of indirect require blockMatt Joiner2022-11-061-1/+1
* | exclude github.com/benbjohnson/immutable v0.4.0Matt Joiner2022-11-061-0/+2
* | Revert "missing Get func added (#6)" (#8)•••This reverts commit f0e9444c8b25fbe9e0c6f040b8a7493aa1f2501c.ucwong2022-10-282-27/+19
* | Add go test CI actionMatt Joiner2022-10-271-0/+23
* | missing Get func added (#6)ucwong2022-10-262-19/+27
|/
* Merge pull request #4 from chrismwendt/generics•••GenericsMatt Joiner2022-06-1419-285/+286
|\
| * replace "interface{}" with "any"Chris Wendt2022-06-088-46/+46
| * AtomicSet generic valueChris Wendt2022-06-081-1/+1
| * generic versionedValue[T]Chris Wendt2022-06-082-9/+9
| * eliminate some type assertionsChris Wendt2022-06-083-11/+11
| * remove unreachable codeChris Wendt2022-06-081-1/+0
| * use time.SinceChris Wendt2022-06-081-1/+1
| * remove unnecessary type parametersChris Wendt2022-06-087-25/+25
| * update READMEChris Wendt2022-06-082-11/+8
| * remove unused varSnapshotChris Wendt2022-06-081-6/+1
| * Use go master in CircleCI•••From https://github.com/anacrolix/stm/commit/8a06827bbcce34df143e4a47a1c5c7e8bf7c0433 Chris Wendt2022-06-081-1/+1
| * Missing Operation type param in cmd/santa-example•••From https://github.com/anacrolix/stm/commit/6ce9dfc42c83a5d5963c23d85ffebffe0323432e Chris Wendt2022-06-081-1/+1
| * Make Operation generic•••From https://github.com/anacrolix/stm/commit/80e033aa1f2218b83fb5891671ed795de72e19d5 Matt Joiner2022-06-084-21/+21
| * BIG change: generic Var[T], txVar, etc.Chris Wendt2022-06-0814-188/+203
| * use generic atomicChris Wendt2022-06-085-7/+15
| * go mod tidyChris Wendt2022-06-072-20/+7
| * go mod edit -go=1.18Chris Wendt2022-06-071-1/+1
* | Bump test timeout (#3)Chris Wendt2022-06-081-1/+1
|/
* Create package-level example doc test from README•••This should synchronize the examples more with the actual API by actually running them. Matt Joiner2021-08-242-76/+83
* Update reference badgeMatt Joiner2021-08-241-1/+2
* Remove retry profiles on Tx recycle•••This may fix a memory leak where the *Tx in retry profile keys holds on to old Tx and their writes. Matt Joiner2021-03-111-0/+3
* skip the retry profile AddMatt Joiner2021-03-111-1/+1
* Add AtomicModifyMatt Joiner2021-03-111-0/+13
* Only wake Tx if they're still reading a modified valueMatt Joiner2020-10-023-3/+9
* Use builtin eq var in rate and stmutil•••In particular, in the rate limiter this gives a massive performance increase. Matt Joiner2020-10-022-2/+2
* Add retry profilingMatt Joiner2020-10-023-18/+42
* Add benchmark utilsMatt Joiner2020-10-018-0/+117
* New Tx must have completed=false•••This uncovers a race condition where new Tx are already marked completed. Matt Joiner2020-10-012-1/+2
* Tidy up newTx usage and recycle from WouldBlockMatt Joiner2020-10-011-2/+7
* Wake watchers until the var changes againMatt Joiner2020-09-304-19/+30
* Don't sleep and only wake watchers if the variable value has changedMatt Joiner2020-09-302-3/+10
* Sleep by default again, and don't bother sleeping for less than 100 microsecondsMatt Joiner2020-09-231-3/+3
* Copy circle CI config from anacrolix/dhtMatt Joiner2020-09-101-21/+49
* Document that Operation return value isn't in the examplesMatt Joiner2020-09-101-0/+3