summaryrefslogtreecommitdiffhomepage
path: root/include/stc/alt
AgeCommit message (Collapse)Author
2022-03-30More unification of cstr and cstr_sso.Tyge Lovset
2022-03-30update on alt/cstr.h (small string optimized).Tyge Lovset
2022-03-29Refactoring in sso string.Tyge Løvset
2022-03-29Added some sso benchmarks and a minor tweak.Tyge Løvset
2022-03-26Fixed alt/cstr.h (short string optimized), so that it can be used in ↵Tyge Løvset
containers. Had to change some API in csview to make it play with that.
2022-03-04Replaced c_strlit type with c_strlen_lit(lit) macro and its usage.Tyge Løvset
2022-02-16Refactoring. Added size type param to forward_cmap/csmap . Reverted ↵Tyge Løvset
c_autovar macros. Added utf8_encode (not used yet).
2022-01-11Some updates on Regex. Will remove it for now, as it is functionally unstable.Tyge Løvset
2022-01-03Bump to 2022.Tyge Løvset
2022-01-02Simplified and improved linkage configuration. Reorganized crandom.h a bit.Tyge Løvset
May define "i_opt c_shared", or "i_opt c_static" to specify individual container linkage, based on if STC_HEADER is defined, i.e static linkage is default, STC_HEADER defined makes shared symbols default.
2022-01-01Corrected linking macro settings.Tyge Løvset
2021-12-29Removed warnings for MS cl -W2 and clang -pedantic -std=c99. No functional ↵Tyge Løvset
changes.
2021-12-22Renamed '_rawvalue\b' to '_raw'Tyge Løvset
2021-12-19Global rename of `_equ\b` => `_eq`. In practice `i_equ` must renamed to ↵Tyge Løvset
`i_eq` in user code if used.
2021-12-19First commit for Version 3 of STC. Main changes are consistent rename of ↵Tyge Løvset
'_del' to '_drop' and '_compare' to '_cmp'. Also i_key_ref (earlier i_key_sptr) and i_val_ref replaced by more general i_key_bind/i_val_bind.
2021-12-14Added and renamed some examples.Tyge Løvset
2021-12-13Renamed constructor *cstr_lit()* to `cstr_new(lit)`.Tyge Løvset
Renamed *cstr_assign_fmt()* to `cstr_printf()`. Renamed cbits_from_str() to cbits_from().
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-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-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-10-29Swapped .._equals() and _equalto() functions for consistencyTyge Løvset
2021-09-19Preparation for merging in V2.0 to master branch.Tyge Løvset
2021-09-17Added example sharedptr.c and fixed some doc.Tyge Løvset
2021-09-17Moved tests and v1 filestylo