Commit graph

24 commits

Author SHA1 Message Date
Simon Cruanes
14ad8c1f2a
format
Some checks failed
Build and Test / build (push) Has been cancelled
Build and Test / format (push) Has been cancelled
2025-05-06 22:24:04 -04:00
Simon Cruanes
ab7d0fcc09
fix: oob(!!) in CCHash.bytes
Some checks are pending
Build and Test / build (push) Waiting to run
Build and Test / format (push) Waiting to run
2025-05-06 10:01:31 -04:00
Simon Cruanes
cad41d70d6
ocamlformat 2024-12-13 00:17:53 -05:00
Simon Cruanes
83009aac10
feat(cchash): native FNV hash for int64/int32 2023-03-13 15:37:00 -04:00
Simon Cruanes
10865eaced reformat 2022-07-04 13:36:06 -04:00
Simon Cruanes
0bee9bdd55
wip: remove tests from src/ 2022-06-30 22:28:07 -04:00
Simon Cruanes
e63383174e
perf(cchash): improve a bit commutative hashing of arrays/lists 2022-06-07 16:20:26 -04:00
Simon Cruanes
40133ee511
perf(cchash): only hash prefix of string/bytes 2022-06-07 16:20:14 -04:00
Simon Cruanes
f5505297de add CCHash.map 2021-07-09 14:40:15 -04:00
Fardale
3eb676c55c replace for loop and unsafe_get by using iter 2021-05-19 23:36:00 +02:00
favonia
13429e5e88 feat(hash): add bytes 2021-05-18 10:54:44 -04:00
Simon Cruanes
77e3e97dd0 perf: direct alias in CCHash.int 2021-04-03 17:42:17 -04:00
Simon Cruanes
6323bdc6d3 fix test in CCHash 2021-04-03 17:42:17 -04:00
Simon Cruanes
cf0d044407 refactor CCHash to use FNV in many combinators 2021-04-03 17:42:17 -04:00
Fardale
c85c135157 break: remove klist type and functions from core 2020-07-23 16:32:52 +02:00
Simon Cruanes
d923795e1a remove slice APIs in string and array 2020-04-24 20:23:26 -04:00
Simon Cruanes
fe16608524 add CCHash.combine{5,6} 2018-02-21 10:21:36 -06:00
Simon Cruanes
9ac7984f74 add Hash.const0 for trivial hash function that ignores its input 2017-12-15 13:49:34 +01:00
Simon Cruanes
f1459b57df add CCHash.{list,array}_comm 2017-02-11 13:37:32 +01:00
Simon Cruanes
8aab182642 large refactor of CCHash, main type is now 'a -> int 2017-01-24 23:21:10 +01:00
Simon Cruanes
192f315f53 simplify CCHash
- remove functor
- use `Hashtbl.seeded_hash` to combine values
2016-11-03 22:18:23 +01:00
Simon Cruanes
9e94f002e4 breaking: make type CCHash.state abstract 2016-01-29 15:57:00 +01:00
Simon Cruanes
0edc5ffb9d update CCHash with a functor and module type for generic hashing 2015-09-22 14:18:04 +02:00
Simon Cruanes
61465fa19a remove cgi/; move sub-libraries to their own subdir each; mv everything into src/ 2014-12-16 23:41:59 +01:00
Renamed from core/CCHash.ml (Browse further)