Commit Graph

24 Commits

Author SHA1 Message Date
4b9164bd75
Perf: avoid using rand.Rand casting 2023-11-10 16:25:17 -08:00
19fdd70713
Fix[entropy]: Fix typo in docs and benchmark code 2023-11-10 15:55:48 -08:00
cb6e9c71a6
entropy: fix race condition, massive performance boost (#17)
* Fix[entropy]: Implement rand pool to remediate splitmix64 race condition

* Perf[entropy]: Use recycled byte buffers for random strings

* Refactor[entropy][testing][bench]: clean up test code and report allocations

* Refactor[entropy]: nil out rand pointer after we put it back into the pool

* Testing[entropy]: fix coverage

* Fix[entropy]: Fix race condition during testing conditions

* gomod: retract premature tags
2023-09-06 23:45:44 -07:00
c167129c6d
Feat: LockableList (pushpop) 2023-03-23 00:43:53 -07:00
c7eafdbc52
Fix[entropy]: fix OneInA function 2022-12-11 12:02:46 -08:00
3f6dbd7472
Feat[entropy]: Access shared rand.Rand 2022-10-11 01:06:20 -07:00
358021fb40
Revert defunct dev branch stuff 2022-09-28 00:04:16 -07:00
929cdf25bb
Feat[entropy]: Random slice value 2022-09-27 23:45:49 -07:00
3139db4896
Feat: Fprintf 2022-09-23 13:45:54 -07:00
945ce6ee14
Feat: RandStrWithUpper 2022-07-13 05:09:07 -07:00
30f94d6eae
Enhancement: shared/global rand objs + add benchmarks 2022-07-12 02:00:54 -07:00
3d8d392d8b
Feat: Add new hash functions + Testing: improve coverage 2022-07-04 00:43:03 -07:00
84d2f8bc95
Revert: Make packages independant 2022-05-15 15:52:37 -07:00
3192308f1c
Modules: Make packages independant 2022-05-15 15:46:23 -07:00
94590bbc23
Improve test coverage and documentation 2022-03-26 20:19:17 -07:00
1c8fd87a7f
Implement generics, fix race condition in network 2022-03-26 08:25:52 -07:00
f14edc3ef8
Entropy: split out functions and export them 2022-03-23 23:22:02 -07:00
d3a00b44f4
Style: shorten line 2022-03-15 21:07:27 -07:00
c36496d75d
Introduce new PRNG with drastically better performance
Signed-off-by: kayos@tcp.direct <kayos@tcp.direct>
2022-03-15 20:39:22 -07:00
d800b6f925
Documentation: literals -> pointers 2022-03-11 20:55:24 -08:00
737458198e
Improve coverage 2022-02-12 19:27:04 -08:00
99d3d82219
Testing: add more test cases 2022-02-12 18:14:54 -08:00
40e3d2190a
Modularize 2022-02-10 04:54:55 -08:00
57029ed818
#justcommonthingz 2022-02-08 04:21:57 -08:00