summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-12-02Breaking changes for i_fwd and i_cmp_none:Tyge Løvset
- Removed: i_cmp_none and i_fwd (replaced by c_no_compare and c_is_fwd args to i_opt). - Added compile-time disabling of clonable and comparable container elements, controlled by i_opt (c_no_clone | c_no_compare) - Added i_opt: can define multiple compile-time options: c_no_compare, c_no_clone, c_no_atomic, c_is_fwd: may be combined with | separator. - Except for csptr, when i_del / i_valdel / i_keydel is defined, also i_from / i_keyfrom / i_valfrom must be defined or i_opt c_no_clone. - For struct elements, either i_cmp must be defined (as before), or define i_opt c_no_compare for non-associative containers.
2021-11-26internal renamingsTyge Løvset
2021-11-26Fixed atomic_decrement final.Tyge Løvset
2021-11-26Bugfix of c_atomic_decrement() asm version in csptr.h. Some cleanupTyge Løvset
2021-11-25Updated int params constness. Updated random.c example.Tyge Løvset
2021-11-24Deprecated c_no_compare(). Define i_cmp_none instead when you have/want no ↵Tyge Løvset
element comparison for cvec, cdeq, clist, csptr. Will give compile time error if functions depending on comparisons are used.
2021-11-23Formatting only.Tyge Løvset
2021-11-23Renamed c_default_hash32/64 to c_hash32/64. Old are deprecated (still ↵Tyge Løvset
available).
2021-11-23BUGFIX: c_default_hash32() was buggy in ccommon.h - fixed.Tyge Løvset
2021-11-21Fixed option_mkdir.c return value.Tyge Løvset
2021-11-21Moved a line.Tyge Løvset
2021-11-21BREAKING CHANGE: Replaced c_new(T) with c_new(T, ...). This now is similar ↵Tyge Løvset
to the c++ new operator. The previous c_new(T) is renamed to c_alloc(T), and c_new_n(T,n) => c_alloc_n(T,n). Old usage of c_new() will fail as it requires additional argument. Sorry for the inconvenience.
2021-11-21Made none mutable integers into const variables. Improved cmap_X_reserve() impl.Tyge Løvset
2021-11-21Changed reverse() and resize() to return false if mem alloc failed.Tyge Løvset
2021-11-20Added carr_X_idx().Tyge Løvset
2021-11-12Added example option.cTyge Løvset
2021-11-12Simplify, use standard rotate_left()Tyge Løvset
2021-11-12Accepted pull request on rust_hashmap.rsTyge Løvset
2021-11-10Updated coption.Tyge Lovset
2021-11-10Added back coption.hTyge Løvset
2021-11-09Added final rotl to default_hashTyge Løvset
2021-11-08Last update on hash for now.Tyge Løvset
2021-11-08minorTyge Løvset
2021-11-08Changed default_hash() and c_strhash()Tyge Løvset
2021-11-08Third trial.Tyge Løvset
2021-11-08Updated last commit. (added c_make_ptr(T, value) macro).Tyge Løvset
2021-11-08Added c_make_ptr(T, value) macro.Tyge Løvset
2021-11-07Added TSL maps and Khash iteration.Tyge Løvset
2021-11-07Cleanup shootout_hashmap.cppTyge Løvset
2021-11-06Fix build_and_testTyge Løvset
2021-11-06Updated shootout_hashmaps.cpp. Cleanup/renamed benchmark folders.Tyge Løvset
2021-11-05Changed array expansion policy from 1.625x to 1.5xTyge Løvset
2021-11-04Added command line args to shootout2_cmap.cppTyge Løvset
2021-11-04More shootout2_cmap updatesTyge Løvset
2021-11-04Updated shootout2_cmap.cppTyge Løvset
2021-11-03Renamed cnt_X_getmut() to cnt_X_get_mut().Tyge Lovset
2021-11-03Docs text alignmentsTyge Løvset
2021-11-03Removed carrN_elem(). Added assert in carrN_at().Tyge Løvset
2021-11-03Changed carrN_X_at() to return const value*. Added mutable carrN_X_elem().Tyge Løvset
2021-11-03Update container_X_getmut() for mutable version.Tyge Løvset
2021-11-03Changed container_X_get() and container_X_at() to return const value* (or ↵Tyge Løvset
const mapped*). Added container_X_getmut() for mutable version. Updated docs.
2021-11-02Bring rust benchmarks in line with c benchmarksDevin Ragotzy
2021-11-02Added benchmark to compare with Rust HashMap.Tyge Løvset
2021-10-30Fixed docs alignments.Tyge Løvset
2021-10-29Merge branch 'master' of github.com:tylov/STC into subtypesTyge Løvset
2021-10-29Swapped .._equals() and _equalto() functions for consistencyTyge Løvset
2021-10-29Renamed ..._value_t -> ..._value, etc. Deprecated, still works for cvec, ↵Tyge Løvset
cdeq, cmap, csmap, cslist
2021-10-29renamed _cx_..._t to _cx_...Tyge Løvset
2021-10-29renamed cx_..._t to _cx_..._t, and Self to _cx_selfTyge Løvset
2021-10-28Reduce mem usage in shootout4_crand.Tyge Løvset