aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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
* Move some benchmarks to be external testsMatt Joiner2020-09-102-86/+152
* Add custom VarValue and const for sleep backoffMatt Joiner2020-09-106-33/+101
* Add exponentially longer sleeping between transaction attemptsMatt Joiner2020-09-102-8/+25
* Add .circleci/config.ymlMatt Joiner2020-09-101-0/+26
* Update README.mdMatt Joiner2020-09-101-5/+2
* Reduce more allocationsMatt Joiner2020-08-282-12/+27
* Dedicated tx locks type•••Reduces allocations Matt Joiner2020-08-281-10/+33
* Add thundering herd testsMatt Joiner2020-08-281-0/+86
* Count wakes for unchanged var versionMatt Joiner2020-08-281-0/+5
* Panic when a transaction blocks after reading nothingMatt Joiner2020-04-154-11/+56
* Rework ContextDoneVar to not leak done ContextsMatt Joiner2019-11-071-1/+7
* Throw away writes in failed Select operations•••Note there's no test for this yet, afaik, and clearly it's not optimized. It also wasn't the cause of the issue I thought i was seeing, but is more correct. Matt Joiner2019-11-071-0/+6