selavy

Results 4 comments of selavy

Personally I find the usefulness of klist to be minimal at best. First, you almost always would be better with kvec, and second if you really need a linked list,...

It should be `absent` in example 1. If you look at the documentation for kh_put(): ``` /*! @function @abstract Insert a key to the hash table. @param name Name of...

@yifangt The original logic of the code doesn't make sense. Hopefully this code snippet is explains why: ``` #include #include #include "khash.h" enum { ERROR = -1, ELEMENT_PRESENT = 0,...

I would recommend reading through the documentation that is in the file: https://github.com/attractivechaos/klib/blob/f719aad5fa273424fab4b0d884d68375b7cc2520/khash.h#L428-L549