Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-04-28 | hub/manager: No need to do a search to insert something at the end | Yorhel | 1 | -0/+8 | |
2013-04-27 | util/vec: Added vector macros + test suite | Yorhel | 1 | -0/+135 | |
The current macros are specially designed for ordered arrays, but it'd be easy to add some macros for unordered arrays, too. Support for sparse arrays (like klib/kvec) isn't on my agenda. I'm no doubt going to need this abstraction for various things in the future (especially share and download queue management), but this current implementation is designed to replace the ugly array in hub/manager.c with something more elegant (and potentially faster, but it likely won't matter). |