Also, why no type safety? e.g.: struct swisstable * swisstable_set_create(void); Where 'struct swisstable *' is never defined externally, so its implementation is opaque.
-
-
-
Also, why no 'const' correctness: void * swisstable_map_search(void *root, void *key, size_t keysize); vs. void * swisstable_map_search(const void *root, const void *key, size_t keysize); Does the 'search' function write to the key? Does it it write to hashmap?
- 11 more replies
New conversation -
-
-
Interesting. Is it resistant to algorithmic attacks? I.e. let's say that you hashed every URL coming into a web server, can I send a sequence of URLs that will cause it to explode with work (like devolving to a linked list?).
-
I believe so, they talk about it here: https://abseil.io/docs/cpp/guides/hash … (but it's also not too hard to drop in a replacement if you need to).
End of conversation
New conversation -
-
-
This was completely off my radar and I need it right now. Cool!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Why wouldn’t it be? Because the compiler can’t inline as much?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
