nusort
notes
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nusort
-
C Template Library
Did you consider using more traditional macros like VEC_ADD which works for all types rather than generating e.g. vec__add? The latter approach doesn't work with cscope and ctags, which is a pretty big drawback in my book (I like it when my super trivial IDE configuration works, which is only possible with C).
See the comment and following 4 macros for how this would work with a (write-only, not growable) hashmap:
https://github.com/matvore/nusort/blob/master/src/util.h#L16...
notes
-
Looking for interesting performance engineering examples for class
https://github.com/apankrat/notes/tree/master/fast-case-conversion
- Fast character case conversion (or how to compress sparse arrays)
- Fast character case conversion
- Fast case conversion or how to compress sparse arrays
- Fast case conversion or how to really compress sparse arrays
-
Using a std::list to manage a time-sorted list of resources in C++, is there a better way?
Alternatively, you can switch to using "intrusive" containers as these require no heap operations for their manipulation (link).
-
C Template Library
Nice, very nice. All of it. Long live C.
Being stuck with C++ I did something in reverse - ported C-style ("intrusive") containers to ++, making them a bit safer to use, but keeping the syntax nearly the same.
https://github.com/apankrat/notes/tree/master/intrusive-cont...
What are some alternatives?
frr - The FRRouting Protocol Suite
ctl - C Template Library
pottery - Pottery - A container and algorithm template library in C
Klib - A standalone and lightweight C library
musl
src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.
ctl - The C Template Library
nlutils - Nitrogen Logic C Utility Library