Ayke van Laethem
d639e01650
runtime: implement math/rand.fastrand64 to fix linker error
...
This is needed for Go 1.20 support.
2023-01-17 08:38:54 +01:00
Damian Gryski
715b269f78
src/runtime: add xorshift-based fastrand64
2023-01-08 10:35:31 +01:00
Damian Gryski
11e1b2148f
src/runtime: switch to stronger hash function
...
Fixes #2713
2022-06-17 08:46:41 +02:00
Damian Gryski
e45ff9c0e8
src/runtime: add per-map hash seeds
2022-06-01 13:28:22 +02:00
Ayke van Laethem
b9c0aa77bf
runtime: implement memhash
...
This function is used by the hash/maphash package.
Unfortunately, I couldn't get the hash/maphash package to pass tests
because it's too slow. I think it hits the quadratic complexity of the
current map implementation.
2022-03-06 10:13:04 +01:00
Ayke van Laethem
4c28f1b875
runtime: add fastrand
...
This is needed for hash/maphash support.
2022-03-06 10:13:04 +01:00