TL

Results 19 comments of TL

If there was another magic number at the beginning of the ctest struct, you could limit how far out from the stored data you were looking when searching forward. It...

Thanks for coming back to this. - I will remove it; note the compiler will make this padding on a 64 bit platform anyways. - No problem - On non...

@JacksonAllan Hi, I prefer strict conforming C, but I personally don't worry much about this "possible" non-conformance of container_of(). I use it also in the linked list implementation. However, I...

@JacksonAllan I have committed an update to STC in the v50dev branch, and have removed the dependency on container_of in the library, and added a clone function for the extended...

I would go with the type-correct version, i.e. the .get doesn't bother me much. You can always make an extra pointer directly to the container if you use it a...

Just letting you know, in STC branch v50dev, there is a include/hmap-robin.h. Would be great if you could include it in your benchmarks if you have time at some point....

I haven't tested it, but I'm surprised by the difference on a 64 bit platform. I've added a `cirange` type that uses int instead of ptrdiff_t in v50dev branch (for...

I will consider changing to -1 because of some other reason, but it is more complicated: In c++, npos is of type size_t which is unsigned the largest number possible,...

Thanks for reporting! Yes, I see that there is a `#undef _i_size` at the end of the file, so I suppose it was renamed but forgot the undef for some...