summaryrefslogtreecommitdiffhomepage
path: root/stc/cmap.h
AgeCommit message (Collapse)Author
2021-02-07Internal simplifications. Small optim. in erase_entry.Tyge Løvset
2021-02-07Internal rename.Tyge Løvset
2021-02-06Some API changes in cmap. Will do for csmap as well.Tyge Løvset
2021-02-06Fixed bug in node_new() and clone() csmap.Tyge Løvset
2021-02-05Rewrote to use c_container_of() instead of size_t offset.Tyge Løvset
2021-02-04Fixed a minor API mixup, Docs: open addressing/closed hashing..Tyge Løvset
2021-02-04Changed return type it iter_t in csmap_X_find() and cmap_X_find() to be ↵Tyge Løvset
consistent.
2021-01-30Internal changes: removed use of cmap_inits and set_inits. Use cmap_x_init() ↵Tyge Løvset
and cset_X_init(). Minor changes in cvec, csmap, cstr, crandom.
2021-01-19String docs updated.Tyge Løvset
2021-01-19Changed template args sequence in cmap.Tyge Løvset
2021-01-18Internal reorganizing.Tyge Løvset
2021-01-18Moved c_try_emplace to ccommon.hTyge Løvset
2021-01-17Removed cset.h - alias of cmap.h. Updated year copyright.Tyge Løvset
2021-01-16Added csmap.c under dev. Internal renaming in cmap.hTyge Løvset
2021-01-10Updated benchmarks for maps.Tyge Løvset
Switched args in cmap_X_set_load_factors().
2021-01-05Internal refactoring of method parameter names.Tyge Løvset
2021-01-04Added cmap_X_value_del() and added convert.c example.Tyge Løvset
2021-01-04Simplified: Removed CONTAINER_input_t type, replaced with CONTAINER_rawvalue_tTyge Løvset
2021-01-04Added value_clone() method to containers.Tyge Løvset
2021-01-04Removed cmap_X_entry_t alias for cmap_X_value_t.Tyge Løvset
2021-01-03Force template argument *clone* to be specified when *del* is specified for ↵Tyge Løvset
containers. Can be *c_no_clone* if clonable is not required.
2021-01-02Major upgrade: Added 'clone' template parameters to containers. Reorganized ↵Tyge Løvset
arg positions. Renamed csptr_X_share() to csptr_X_clone()
2021-01-02Added template parameter 'to_raw', in order to support clone functionality ↵Tyge Løvset
of map. Todo: change parameter order in shorthand using_-macros.
2021-01-02INternal: more moved template argsTyge Løvset
2021-01-02Internal: moved template argument in cdeq, cvec and clist.Tyge Løvset
2021-01-02Almost internal: Swapped toRaw(), fromRaw() template arguments in containers.Tyge Løvset
2020-12-31Internal only.Tyge Løvset
2020-12-30API change: Swapped destroy <-> compare function args in using_*() macros ↵Tyge Løvset
for cvec, cdeq, cptr and clist.
2020-12-27Removed MACRO functions in API, like cvec_size(c), cvec_empty(c). Use ↵Tyge Løvset
cvec_X_size(c) etc. Restructured benchmarks / examples.
2020-12-17API change: Reverted back to original name used for .val in iterators to .refTyge Løvset
2020-12-05Some text improvements. Renamed method c_default_hash16 to c_default_hash.Tyge Løvset
2020-12-02Improved docs for using_*() macros.Tyge Løvset
2020-12-01Added some examples.Tyge Løvset
2020-12-01Fixed docs, some minor changes in cstr.h and cmap.h as well.Tyge Løvset
2020-11-30Added cmap api docs.Tyge Løvset
2020-11-04Larger constant Phi in hash16.Tyge Løvset
2020-11-03renamed __init to _initsTyge Løvset
2020-11-02Changed (half)-internal *_INIT to *__init macros. Minor reformatting.Tyge Løvset
2020-10-20Added cfmt.h and some smaller fixes.Tyge Løvset
2020-10-17Internal renaming of STC_IMP to STC_DEF. Removed cstr_INIT. Use cstr_init().Tyge Løvset
2020-10-16Fixed compiling as lib (-DSTC_HEADER) and added c_withbuffer() and ↵Tyge Løvset
c_break_with macros.
2020-10-14Renamed cstr() constructor to cstr_from(), cstr_from() to cstr_from_fmt().Tyge Løvset
2020-10-08Renamed cdefs.h to ccommon.hTyge Løvset
2020-10-01Minor refactoring.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-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-20Possible to redefine STC memory allocator globally.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>(..).