summaryrefslogtreecommitdiffstats
path: root/benchmark
AgeCommit message (Collapse)AuthorFilesLines
2022-06-28Simplify clang-tidy configurationDavid Robillard1-1/+0
2022-06-28Use uppercase integer literal suffixesDavid Robillard3-9/+8
I give in.
2022-06-28Simplify dep5 file by adding license headers where possibleDavid Robillard1-0/+3
2022-06-28Clean up build configurationDavid Robillard3-6/+2
2022-06-28Remove redundant includesDavid Robillard1-1/+0
This is implicitly included by <inttypes.h>.
2021-12-17Reduce benchmark code complexityDavid Robillard1-38/+50
2021-12-17Suppress new warnings in clang-tidy 13David Robillard1-1/+2
2021-12-17Fix memory leaks in dictionary benchmarkDavid Robillard1-0/+9
2021-10-27Gracefully handle realloc failure in benchmarkDavid Robillard1-2/+16
Not really a relevant case here, but it resolves issues found by cppcheck.
2021-10-27Fix whitespaceDavid Robillard1-1/+1
2021-09-18Fix warnings in release builds on MacOSDavid Robillard1-2/+7
Why only MacOS? Good question!
2021-09-18Simplify benchmark error handling by using assertionsDavid Robillard1-31/+11
These are things that should really never happen, especially if the tests pass.
2021-09-18Simplify benchmark main functionDavid Robillard1-12/+17
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