summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/misc
AgeCommit message (Collapse)Author
2022-12-20Restructured folders: examples, benchmarks, tests into misc folder.Tyge Lovset
2022-12-19Some cleanup in cregex.Tyge Løvset
2022-11-03Made cmap i_max_load_factor a compile time template parameter instead of ↵Tyge Løvset
runtime. Enables cmap to be NULL initialized. Currently only cvec/cdeq and csmap cannot be NULL initialized, but eventually they will.
2022-10-31Improved typesafe c_container_of() macro.Tyge Løvset
2022-10-21Renamed size_t formatting macro c_zu to c_ZU (for replacing %zu on mingw64).Tyge Løvset
2022-10-19Reverted back to c_forrrange from c_forloop. Still available but deprecated.Tyge Løvset
2022-10-14Replaced PRIuMAX with new c_zu macro in examples. "%zu" is not supported by ↵Tyge Løvset
mingw64 and PRIuMAX is not a replacement for "zu".
2022-10-14Update sso_bench.cpp benchmark, and some internal improvements.Tyge Løvset
2022-09-26DEPRECATED: c_forrange(): replaced with c_forloop(). This uses 'long long' ↵Tyge Løvset
as iter type, i.e. "%lld" printf format. crange_from() renamed to crange_make(). More docs.
2022-08-13Experimental: Renamed c_autovar => c_with, c_autoscope => c_scope, ↵Tyge Løvset
c_autodefer => c_defer. May or may not be reverted before V4.0 release.
2022-08-12cstr V4: Changed cstr functions to take pointers to self, not values. This ↵Tyge Løvset
is consistent with the rest of the containers. csview will still use values, as it is designed to be passed by value.
2022-07-27VERSION 3.8 BETA: Some changes in cstr / csview APIs: replace* / find*, ↵Tyge Løvset
*_u8(). . See README.md
2022-07-07Added missing file: unordered_dense.h. Added -Wall -pedantic to benchmarks ↵Tyge Løvset
and fixed warnings. Thanks to ktprime for reporting.
2022-07-06Version 3.7. Make sure to check NEWS/Changes in README.md for a few ↵Tyge Løvset
code-breaking API changes.
2022-06-01Converted all files with DOS line endings to LINUX.Tyge Løvset
2022-05-30Updated benchmarks and renamed utf8utils.c to utf8code.cTyge Løvset
2022-05-24API change: cbits now uses container pointers args in all member functions, ↵Tyge Løvset
except clone() ... for now. All containers may get same treatment! which will be a rather big API change. This was needed after testing fixed size cbits performance with pass-by-value: was very slow for large bitsets: now faster than std::bitset<>. Also reverted previous cbits_set_value(): much faster because it is branchless.
2022-05-10Renamed (newish) functions expand_uninitialized to expand_uninit. + some ↵Tyge Lovset
minor changes.
2022-04-27Finally FIXED cloning/to/from scheme to work properly. When using ↵Tyge Løvset
i_key_bind/i_val_bind, a .._clone() function *must* always be defined. Functions .._from and .._toraw is only required when i_keyraw/i_valraw type is defined.
2022-04-25Removed size argument to `i_hash` template parameter and `c_default_hash`. ↵Tyge Løvset
This was a "design error", and is not worth keeping for backward compability. Please update your code where you use i_hash template parameter (simply remove second argument).
2022-04-25Some maintainance. Updated sso_bench.cppTyge Løvset
2022-04-24Updated docs to use cstr_str(&s) instead of s.strTyge Løvset
2022-04-24Fixed unfair comparison; std::move must be used in c++ push_back(). STC has ↵Tyge Løvset
almost identical performance to c++ STL, but STC cstr has 23 chars short strings vs typically 15 for c++ std::string, so STC is faster in this range.
2022-04-24Created VERSION 3.5. See News section in docs for changes.Tyge Løvset
2022-04-23Integrated (and removed) c_hash32 and c_hash64 into c_default_hash, which is ↵Tyge Løvset
improved. Added i_key_ssv and i_val_ssv (cstr with csview as raw-type).
2022-04-18Renamed stc64_random() => crandom(), stc64_srandom(seed) => csrandom(seed). ↵Tyge Løvset
Kept old names for backward comp.
2022-04-18Converted all example to use cstr_str(&s) instead of s.str to allow SSO ↵Tyge Løvset
string. Fixed misc warnings.
2022-04-09- Switched from .._put() to .._push() as the "generic" method to add ↵Tyge Løvset
element to any container. - Changed clist_X_insert()/emplace() to clist_X_insert_at()/emplace_at() to make it consistent with cvec/cdeq. - Updated documentation.
2022-04-09Optimizing push_back() cvec/cdeq and some minor stuff.Tyge Lovset
2022-04-07More refactoring of cbits.h + minor changes in examples/benchmark.Tyge Løvset
2022-03-29Refactoring in sso string.Tyge Løvset
2022-03-29Added some sso benchmarks and a minor tweak.Tyge Løvset
2022-03-04Updated printf formatting to portable code. This was also to use ↵Tyge Løvset
http://winlibs.com gcc+clang with ucrt runtime-libs without warnings.
2022-01-11Some updates on Regex. Will remove it for now, as it is functionally unstable.Tyge Løvset
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-12Simplify, use standard rotate_left()Tyge Løvset
2021-11-12Accepted pull request on rust_hashmap.rsTyge Løvset
2021-11-10Added back coption.hTyge Løvset
2021-11-06Updated shootout_hashmaps.cpp. Cleanup/renamed benchmark folders.Tyge Løvset