summaryrefslogtreecommitdiffstats
path: root/benchmark
AgeCommit message (Collapse)AuthorFilesLines
2021-09-10Adopt REUSE machine-readable licensing standardDavid Robillard4-60/+8
2021-09-10Add custom allocator supportDavid Robillard2-4/+6
2021-09-10Add nullability annotationsDavid Robillard1-2/+3
This allows clang to issue warnings at compile time when null is passed to a non-null parameter. For public entry points, also add assertions to catch such issues when the compiler does not support this.
2021-09-10Move attribute definitions to a separate headerDavid Robillard2-0/+2
2021-09-10Rewrite ZixHash as a flat table with open addressingDavid Robillard1-39/+43
2021-09-10Replace CRC32 digest with more modern and appropriate algorithmsDavid Robillard1-1/+1
This makes the hassle of platform-specific code go away, and instead uses portable implementations of relatively standard modern hash algorithms. CRC32 is not great as a hash function anyway, though it is very fast when hardware accelerated.
2021-09-10Add a user handle to destroy callbackDavid Robillard1-2/+2
2021-09-10Allow ZixBTreeIter to be allocated on the stackDavid Robillard1-6/+5
2021-09-10Remove destroy field of BTree and add zix_btree_clear()David Robillard1-2/+2
If this is used, it is only when clearing or freeing a tree. Allowing it to be given as a parameter directly there is clearer and avoids bloating the tree itself with information that isn't needed.
2021-09-10Suppress new warnings in clang-tidy 12David Robillard1-0/+3
2021-09-10Fix conversion warningsDavid Robillard2-23/+26
2021-07-17Remove ZixSortedArrayDavid Robillard1-105/+0
2021-07-17Avoid allegedly "suspicious" string comparisonsDavid Robillard2-3/+2
I guess these are suspicious if you've never seen C before?
2021-07-17Avoid use of rand()David Robillard3-24/+14
2021-07-17Avoid use of atoi() and atol()David Robillard2-3/+2
2020-12-31Fix MinGW buildDavid Robillard1-0/+1
2020-12-31Update copyright headersDavid Robillard3-3/+3
2020-12-31Remove ZixChunkDavid Robillard1-1/+19
2020-12-31Disable glib warnings in the codeDavid Robillard3-0/+48
Though annoying, this avoids relying on special compiler flags to suppress them.
2020-12-31Initialize all variablesDavid Robillard3-4/+5
2020-12-31Add separate clang-tidy configuration for benchmarksDavid Robillard1-0/+22
2020-12-31Fix includes in benchmark utilitiesDavid Robillard1-9/+15
2020-12-31Fix signed operand to bitwise operationDavid Robillard1-1/+1
2020-12-31Fix unused value warningDavid Robillard1-2/+4
2020-12-31Format all code with clang-formatDavid Robillard3-447/+463
2020-12-31Avoid "else" after "return"David Robillard1-6/+10
2020-12-31Remove unused esoteric data structuresDavid Robillard1-88/+2
2020-08-13Move benchmarks to a separate directoryDavid Robillard3-0/+713