summaryrefslogtreecommitdiffhomepage
path: root/stc/cpqueue.h
AgeCommit message (Collapse)Author
2020-12-17Renamed cpqueue (priority queue) container to cpque.Tyge Løvset
2020-12-16Renamed crandom to crand, including renaming of relevant files.Tyge Løvset
2020-12-16Reverted back API to easier naming scheme of crandom.h types and methods.Tyge Løvset
Highly optimized generation of unbiased uniform bounded random numbers. Only 33% overhead.
2020-12-14Reworked the crandom.h module. Changed API (sorry!), made uniform distr. ↵Tyge Løvset
unbiased. Removed 32-bit pcg32 PRNG.
2020-12-08Added clone() to stack, cpqueue and queue.Tyge Løvset
Renamed erase_at() to erase_n() in cvec and cstr to improve consistency.
2020-12-03Fixed inconsistent API in cpqueue.Tyge Løvset
2020-11-26Added link to beginning of cstr API documentation, and some small docu fixes.Tyge Løvset
2020-11-02Changed (half)-internal *_INIT to *__init macros. Minor reformatting.Tyge Løvset
2020-10-17Internal renaming of STC_IMP to STC_DEF. Removed cstr_INIT. Use cstr_init().Tyge Løvset
2020-10-08Minor opt.Tyge Løvset
2020-10-01Renamed cpqueue build() to make_heap()Tyge Løvset
2020-09-25Added cptr.h and good examples for cptr and csptr (share_ptr.c). Some ↵Tyge Løvset
internal refactor.
2020-09-23Some internal restructuring. Added shared_ptr like struct type: csptr.hTyge Løvset
2020-09-18Changed <container>_ini macro constant to <container>_INIT, and ↵Tyge Løvset
<container>_destroy() to <container>_del.
2020-09-17Fixed range methods in cvec, and renamed typename_<container>(..) to ↵Tyge Løvset
using_<container>(..).
2020-09-16Changed earlier declare_<container>(..) macro to typedef_<container>(..)Tyge Løvset
2020-09-15Simplified declare_ statement e.g. c_cmap(...)Tyge Løvset
2020-09-15New API Change.Tyge Løvset
2020-09-10Reformatting only.Tyge Løvset
2020-09-07Forgot to convert priority_queue to use emplace() function name.Tyge Løvset
2020-09-04Using X instead of tag as macro parameter name for readability.Tyge Løvset
2020-09-03Changed constant <container>_init to <container>_ini to avoid conflict with ↵Tyge Løvset
<container>_init() method. Reverted name cprique back to cpqueue.
2020-09-02Added cqueue.h, cstack.h and renamed cpqueue.h to cprique.hTyge Løvset
2020-09-02Added cqueue.h and cstack.h adapters. Updated cpqueue.h API to be more ↵Tyge Løvset
consistent.
2020-09-02Updated pqueue_top() API. Added c_destroy() also working for cstr, cbitmap.Tyge Løvset
2020-09-02Rewrote cpqueue to a real adapter class. Added some missing functions in ↵Tyge Løvset
cvec, clist, cmap. Added c_init() and c_destroy() generic algoritms on containers.
2020-08-28Some smaller fixes and cleanup.Tyge Løvset
2020-08-08Enhanced cvec sorting.Tyge Løvset
2020-08-01Renamed files cvec_pq.h --> cpqueue.h and crand.h --> crandom.hTyge Løvset