Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-09-10 | Add custom allocator support | David Robillard | 5 | -84/+182 | |
2021-09-10 | Add nullability annotations | David Robillard | 2 | -0/+52 | |
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-10 | Rewrite ZixHash as a flat table with open addressing | David Robillard | 1 | -145/+258 | |
2021-09-10 | Replace CRC32 digest with more modern and appropriate algorithms | David Robillard | 1 | -100/+172 | |
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-10 | Fix cast alignment warnings in SSE4.2 digest code | David Robillard | 1 | -5/+29 | |
2021-09-10 | Add a user handle to destroy callback | David Robillard | 2 | -21/+30 | |
2021-09-10 | Simplify BTree implementation | David Robillard | 1 | -253/+388 | |
2021-09-10 | Allow ZixBTreeIter to be allocated on the stack | David Robillard | 1 | -170/+104 | |
2021-09-10 | Remove destroy field of BTree and add zix_btree_clear() | David Robillard | 1 | -29/+36 | |
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-10 | Remove BTree debug printing | David Robillard | 1 | -37/+0 | |
2021-09-10 | Avoid implicit padding in BTree nodes on 64-bit | David Robillard | 1 | -8/+15 | |
Might as well use 32-bit integers if the space is there anyway. | |||||
2021-09-10 | Be explicit about the sign of defined integer constants | David Robillard | 1 | -4/+4 | |
2021-09-10 | Fix conversion warnings | David Robillard | 1 | -1/+1 | |
2021-09-10 | Remove ZixStrindex | David Robillard | 1 | -263/+0 | |
2021-07-17 | Remove ZixSortedArray | David Robillard | 1 | -193/+0 | |
2021-07-17 | Avoid allegedly "suspicious" string comparisons | David Robillard | 1 | -1/+1 | |
I guess these are suspicious if you've never seen C before? | |||||
2021-07-17 | Use line comments where appropriate | David Robillard | 2 | -12/+12 | |
2021-06-30 | Add pure attribute to internal BTree accessor functions | David Robillard | 1 | -0/+3 | |
2021-06-30 | Fix hash size after removing elements | David Robillard | 1 | -1/+1 | |
2021-01-16 | Allow all free functions to be called on null | David Robillard | 2 | -6/+10 | |
2021-01-12 | Fix crash with optimized builds with GCC 10.1.0 | David Robillard | 1 | -1/+1 | |
2020-12-31 | Fix zix_sorted_array_iter_is_end() | David Robillard | 1 | -1/+1 | |
2020-12-31 | Fix MinGW build | David Robillard | 1 | -1/+0 | |
2020-12-31 | Fix potential balance overflow | David Robillard | 1 | -4/+4 | |
2020-12-31 | Update copyright headers | David Robillard | 9 | -22/+22 | |
2020-12-31 | Remove ZixChunk | David Robillard | 1 | -33/+0 | |
2020-12-31 | Initialize all variables | David Robillard | 1 | -4/+4 | |
2020-12-31 | Fix use of reserved identifiers | David Robillard | 1 | -8/+8 | |
2020-12-31 | Remove ZIX_PRIVATE and ZIX_INLINE mechanisms | David Robillard | 2 | -56/+28 | |
A normal C library ought to be good enough for anybody. | |||||
2020-12-31 | Separate source from headers | David Robillard | 10 | -0/+3071 | |
2012-08-10 | Minimal space overhead inline value hash table. | David Robillard | 8 | -2410/+0 | |
Add ZixChunk. Add SSE 4.2 accelerated digest (with fallback) in zix/digest.h. Make library optionally header-only (define ZIX_INLINE). git-svn-id: http://svn.drobilla.net/zix/trunk@76 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2012-08-09 | Merge changes from lilv. | David Robillard | 1 | -4/+6 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@73 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2012-08-09 | Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵ | David Robillard | 2 | -3/+6 | |
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/zix/trunk@72 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2012-02-01 | Reduce use of non-portable %zu format. | David Robillard | 1 | -3/+4 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@56 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2012-01-31 | Fix compilation on sane platforms. | David Robillard | 1 | -0/+4 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@52 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2012-01-31 | Windows/Visual C++ portability. | David Robillard | 7 | -27/+34 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@51 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2012-01-31 | Full test coverage for ZixRing. | David Robillard | 2 | -12/+6 | |
Update waf. git-svn-id: http://svn.drobilla.net/zix/trunk@50 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-10-09 | Fix ZixRing error when reading split/wrapped messages. | David Robillard | 1 | -1/+1 | |
Use a non-power-of-two message size in ZixRing test to test this. git-svn-id: http://svn.drobilla.net/zix/trunk@43 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-09-29 | Tidy | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@42 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-09-28 | Add destructor parameter and zix_tree_size | David Robillard | 1 | -12/+37 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@41 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-09-28 | More glib like interface for ZixTree. | David Robillard | 2 | -189/+267 | |
Move ZixTree debug stuff to tree_debug.h. Support reverse iteration over ZixTree. git-svn-id: http://svn.drobilla.net/zix/trunk@40 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-09-28 | Add ZixHash | David Robillard | 1 | -0/+226 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@39 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-09-20 | Abstract away node allocation for easier tinkering. | David Robillard | 1 | -5/+12 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@38 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-09-20 | Remove use of strcmp in zix_patree_insert. | David Robillard | 1 | -20/+17 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@37 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-09-20 | Const correctness. | David Robillard | 1 | -21/+22 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@36 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-09-20 | Terser and more cache-friendly version with SSE4.2 support. | David Robillard | 1 | -67/+147 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@35 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-09-20 | Remove pointless loop conditional. | David Robillard | 1 | -31/+27 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@34 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-09-20 | Move children index into separate array (fewer cache misses in ↵ | David Robillard | 1 | -6/+11 | |
patree_find_edge). git-svn-id: http://svn.drobilla.net/zix/trunk@33 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-09-19 | Fix comment header typo. | David Robillard | 1 | -1/+1 | |
git-svn-id: http://svn.drobilla.net/zix/trunk@32 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 | |||||
2011-09-19 | Cache the first character of the label in node for faster search. | David Robillard | 1 | -21/+28 | |
This makes patree_find_edge have an ideal linear memory access pattern. git-svn-id: http://svn.drobilla.net/zix/trunk@31 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 |