summaryrefslogtreecommitdiffstats
path: root/src/trie.c
Commit message (Collapse)AuthorAgeFilesLines
* alloc: New header for memory allocation utilitiesTavian Barnes2023-06-201-4/+3
|
* Switch from assert() to bfs_assert()/bfs_verify()Tavian Barnes2023-05-181-17/+16
|
* trie: Use SIZE_WIDTHTavian Barnes2023-05-181-6/+6
|
* bit: Rename int.h to bit.hTavian Barnes2023-05-181-1/+1
|
* trie: Use standard bit utilitiesTavian Barnes2023-05-161-44/+15
|
* trie: Use ENDIAN_* and bswap()Tavian Barnes2023-05-161-7/+3
|
* trie: Use the _WIDTH macrosTavian Barnes2023-05-161-5/+6
|
* trie: Use bfs_static_assert()Tavian Barnes2023-05-161-1/+2
|
* config: Provide <stdalign.h> and <stdbool.h>Tavian Barnes2023-05-111-1/+0
| | | | In anticipation of C23, since those headers won't be necessary any more.
* config: s/BFS_FLEX_SIZEOF/flex_sizeof/Tavian Barnes2023-05-101-2/+2
|
* style: Don't use tabs to indent preprocessor directivesTavian Barnes2023-05-031-15/+15
|
* list: Use macros instead of type-erased listsTavian Barnes2023-03-311-4/+4
|
* trie: Use list.h for the list of leavesTavian Barnes2023-03-291-24/+4
|
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-251-15/+2
| | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
* trie: Use static_assert() instead of #errorTavian Barnes2022-12-071-3/+1
|
* config: Support target_clones on more platformsTavian Barnes2022-11-211-1/+1
|
* trie: Limit target_clones to glibcTavian Barnes2022-11-161-5/+5
| | | | Musl doesn't support ifuncs.
* trie: Check __has_attribute(target_clones) before using itTavian Barnes2022-11-091-1/+1
|
* config: Split out some of util.h into a new headerTavian Barnes2022-11-061-1/+1
|
* trie: Optimize trie_mismatch() with tzcntTavian Barnes2022-11-011-13/+40
|
* trie: Use target_clones() for popcntTavian Barnes2022-10-301-6/+28
|
* trie: Refactor insertion to allocate the leaf in one placeTavian Barnes2022-10-301-49/+48
|
* trie: Make leaves into a linked listTavian Barnes2022-10-291-20/+49
|
* trie: New is_power_of_two() helperTavian Barnes2022-10-291-5/+10
|
* trie: Convert ASCII art to Unicode artTavian Barnes2022-10-291-31/+49
|
* Source / Include Folder (#88)トトも2022-04-161-0/+693
Moved Source Files Into `src` Folder