aboutsummaryrefslogtreecommitdiff
path: root/stmutil (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unify code into default repo formatEuAndreh2025-01-223-251/+0
|
* Remove unnecessary value type for SetsMatt Joiner2022-12-211-14/+13
|
* Update immutable to use comparable key constraintsMatt Joiner2022-12-211-14/+17
|
* Mostly fix compatibility with immutable v0.4.0Matt Joiner2022-10-271-59/+67
| | | | | | | | 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.
* replace "interface{}" with "any"Chris Wendt2022-06-081-27/+27
|
* remove unnecessary type parametersChris Wendt2022-06-081-1/+1
|
* BIG change: generic Var[T], txVar, etc.Chris Wendt2022-06-081-3/+3
|
* Use builtin eq var in rate and stmutilMatt Joiner2020-10-021-1/+1
| | | | In particular, in the rate limiter this gives a massive performance increase.
* Rework ContextDoneVar to not leak done ContextsMatt Joiner2019-11-071-1/+7
|
* Cache ContextDoneVarsMatt Joiner2019-11-052-5/+38
| | | | Note that nothing currently flushes them. Could probably flush them when they're done, and the early return will take care of the rest.
* Add stmutil.ListMatt Joiner2019-11-051-0/+2
|
* Transfer project stewardship to anacrolixMatt Joiner2019-11-031-1/+1
| | | | See https://github.com/lukechampine/stm/issues/3#issuecomment-549087541.
* stmutil.ContextDoneVar: Return true Var if the context is already doneMatt Joiner2019-11-021-0/+3
| | | | This prevents needless races, such as in some of the rate limiting tests.
* Add stmutil containers and ContextDoneVarMatt Joiner2019-11-012-0/+197