summaryrefslogtreecommitdiffhomepage
path: root/examples/benchmark.c
AgeCommit message (Collapse)Author
2020-11-26Renamed benchmark.c to c++ file, to default enable comparing with various ↵Tyge Løvset
c++ unordered_maps.
2020-11-26Removed stc/cfmt.h, as _Generic requires C11. I have made it a gist: ↵Tyge Løvset
https://gist.github.com/tylov/bcc956a4779f1d14204e66a14f17beb9 All examples are reverted to use printf() instead of c_print().
2020-11-03renamed __init to _initsTyge Løvset
2020-11-02Changed (half)-internal *_INIT to *__init macros. Minor reformatting.Tyge Løvset
2020-10-25Changed stdout to have alias 1 instead of 0, and stderr=2.Tyge Løvset
2020-10-24Renamed c_printf() to c_print() because it no longer support of printf() ↵Tyge Løvset
formats. c_timef() renamed to c_ftime().
2020-10-21Fixed missing _Generic types. Renamed c_print to c_printf, added some usage.Tyge Løvset
2020-10-21Small update.Tyge Løvset
2020-09-24Changed iter.get to iter.val member. Internal, but used external. Will not ↵Tyge Løvset
change again.
2020-09-23Some internal restructuring. Added shared_ptr like struct type: csptr.hTyge Løvset
2020-09-22Added back khash and robin_hood hash in benchmark.c.Tyge 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-17Fixed default hash16 and hash32.Tyge Løvset
2020-09-16Changed earlier declare_<container>(..) macro to typedef_<container>(..)Tyge Løvset
2020-09-16Changed API to conform with std:: containers. cmap now only use first, ↵Tyge Løvset
second. for result and value types.
2020-09-15Simplified declare_ statement e.g. c_cmap(...)Tyge Løvset
2020-09-15New API Change.Tyge Løvset
2020-09-14Renamed result_t type members to first, second (from item, inserted) for ↵Tyge Løvset
conformance with std::pair
2020-09-09More compliance with std:: containers.Tyge Løvset
2020-09-06Renamed push_****(), _insert() to _emplace(). added insert_or_assign(), etc.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-08-29Updated crandom.h API! update to benchmark.c . Optimized cmap iter.Tyge Løvset
2020-08-28Finished adding RawValue API (convertable values) to containers.tylo
2020-08-26Updated benchmark. Some improvements in cmap iterator. cmap_try_emplace() ↵Tyge Løvset
API change.
2020-08-19Minor cleanup.tylo
2020-08-19Added hopscotch hashing benchmark.ctylo
2020-08-16Update benchmark.cTyge Løvset
2020-08-16Simplified benchmark.cTyge Løvset
2020-08-12Updated robin_hood hash.tylo
2020-08-11Fixed two bugs: 1) hash16 not to be used for string. 2) cstr_from(): va_copy ↵tylo
missed
2020-08-10Updated hash funcs.Tyge Løvset
2020-08-02Renamed in random and fixed in bitset.Tyge Løvset
2020-08-02Add c_nullptr to cdefs.hTyge Løvset
2020-08-01Renamed files cvec_pq.h --> cpqueue.h and crand.h --> crandom.hTyge Løvset
2020-07-30Various cleanup of examples and READM.md. Added support for popcount on ↵Tyge Løvset
compilers without intrinsics.
2020-07-29Changed rand.h API. Using my own 64-bit random function, not sfc64: Faster ↵Tyge Løvset
and has seq (sequence, jump) for multiple threads. Cleanup.
2020-07-29Renamed crandom.h to crand.h + Changed API. Renamed coptget.h to copt.h.Tyge Løvset
2020-07-28Lowercase namingTyge Løvset
2020-07-27Changed crandom.h APITyge Løvset
2020-07-27API CHANGES: Made types all lower case. E.g.: CMap_<tag> => cmap_<tag>, ↵Tyge Løvset
CList_<tag> => clist_<tag>. Note: CStr => cstr_t, CBitset => cbitset_t
2020-07-27Renamed cmap_xx_at() to cmap_xx_insert(). Does insert like c++ ↵Tyge Løvset
std::map::insert(), rust HashMap::insert() Updated cstr_hashRaw() to djb2() algorithm.
2020-07-26Replaced lowBiasHash with fibonacciHash32 / fibonacciHash64. Added ↵Tyge Løvset
<container>_<tag>_init(void) function.
2020-07-23Changed cvecpq.h priority queue API and crandom.h APITyge Løvset
2020-07-22Fixed cmap_xx_clear()Tyge Løvset
2020-07-22Renamed CArray to CArr. Renamed cmap_xx_get() to cmap_xx_find(). Changed ↵Tyge Løvset
_front() and _back() signatures.
2020-07-21Reordered declare_CMap/CSet argument list.Tyge Løvset
Fixed examples.
2020-07-17Renamed chash.h to cmap.h and added cset.hTyge Løvset
2020-07-16Updated includes to reflect rename of cvec.h and cstr.hTyge Løvset
2020-07-16API CHANGES: CHash now splitted to CMap / CSet, still in chash.h header. ↵Tyge Løvset
Renamed cstring.h -> cstr.h, cvector.h -> cvec.h