summaryrefslogtreecommitdiffhomepage
path: root/docs
AgeCommit message (Collapse)Author
2023-09-05Renamed (half) internal function cfasthash() => cbytehash().Tyge Løvset
Fixed missing parameter in call of i_hash().
2023-09-01cspan: can now span over a intptr_t size array, but each dimension is still ↵tylov
limited to int32_t sizes.
2023-08-21cspan flat-iterator now prints c_COLMAJOR matrices as in Python. Simpler ↵tylov
code, although it now doesn't print column-major spans in column-by-column order, but rather in row-by-row, like row-major spans.
2023-08-21Changed 'order' to 'layout' in cspan md.Tyge Løvset
Neigher the 'C' / 'F' convension from python, nor left / right from std::mdspan are great names => changed to c_ROWMAJOR / c_COLMAJOR like in matlab.
2023-08-19Polishing cspan.h. Updated multidim.c cspan example.tylov
2023-08-17Corrected/updated string types in docs.tylov
2023-08-17Simplified access to utf8 character .chr in cstr / csview / crawstr ↵tylov
iterators. Backward compatibility kept, but deprecated.
2023-08-17Renamed "internal" csview member .str => .buf, as it is not null terminated ↵Tyge Lovset
like crawstr .str member.
2023-08-17Small refactoring.Tyge Lovset
2023-08-16Update cspan docs.Tyge Løvset
2023-08-15Minors.Tyge Lovset
2023-08-14Reverted csubstr => csview. Sorry about that!Tyge Løvset
Added crawstr to become the null-terminated string view.
2023-08-14Some docs updates.tylov
2023-08-14Finished last commit (cleanup, fixes).tylov
2023-08-13API CHANGES:tylov
Changed csview: becomes a null-terminated string view. Added csubview: a null-terminated string view/span, like previous csview. Note that csview works like a csubview, so not much compability issues should arise. However, some functions have changed from _sv suffix to _ss.
2023-08-13Removed csview_null - use csview_init().tylov
2023-08-11Updated godbolt code.tylov
2023-08-11Finalized converting to i_use_cmp (vs i_no_cmp)tylov
2023-08-10Update template.h - also renamed i_cmp_native => i_use_cmpTyge Løvset
2023-08-08Reverted cco_cleanup => cco_final. (cco_cleanup deprecated).Tyge Løvset
Updated generator.c example. Misc internal refactoring.
2023-08-02Renamed (most internal "class" type) crawstr => ccharptrTyge Løvset
2023-08-01Last minute API change for coroutines before V4.3 release:Tyge Løvset
- Renamed cco_xxxx_await() => cco_await_xxxx() (call, task, sem, timer) - Renamed cco_xxxx_blocking() => cco_blocking_xxxx() (call, task) - Renamed cco_task_resume() => cco_resume_task() - Simplified cco_blocking_call()
2023-07-28Improved crand docs and commented out the irrelevant 32-bit variants in the ↵tylov
benchmark.
2023-07-27Added docs for "pull" functions.tylov
2023-07-26Added cmap_emplace_key() / csmap_emplace_key()tylov
More docs.
2023-07-24Updated and fixed benchmarks and performance graphs.tylov
2023-07-24Improved an issue with cspan.tylov
2023-07-24Updated godbolt links to working v4.3 examples.tylov
Added missing files.
2023-07-23Updated docs.tylov
2023-07-21Renamed crange_make(...) => crange_init(...), deprecated crange_make().tylov
2023-07-21Removed c_foreach_rv() - only worked for cvec, so not general.tylov
2023-07-21NB! Changed some coroutine API for consistency/simplicity: Added full task ↵tylov
support.
2023-07-21Renamed badly abbreviated names in crand.h.tylov
Moved coroutine.h from algo subfolder to stc. Updated coroutine.h and docs.
2023-07-20Added Task-object to coroutines and true stackless execution.tylov
2023-07-18Renamed i_native_cmp => i_cmp_nativetylov
Added c_all_of(), c_any_of(), c_none_of() to algo/filter.h
2023-07-15Improved warning, and other enhancements in ccommon.htylov
2023-07-15Reverted to cspan_submdX() without output span type as first argument. ↵tylov
Type/argument safety is still present.
2023-07-13Moved c_defer() macro from raii.h to ccommon.h. Some changes in cspan.tylov
2023-07-12Changed docs and examples to use i_key* template parameters instead of ↵tylov
i_val* for all non-maps. Renamed c_ASSERT() to c_assert() and added optional message parameter to c_static_assert().
2023-07-12Fixed usage of `const i_key` in cvec API, should be `const _cx_value`. ↵tylov
Removed cvec_insert(), use cvec_insert_n().
2023-07-11Fixed an issue in template.htylov
Reverted to cspan_md() and cspan_md_left() for column-major. Changed cspan_submdX(): add OutputSpanType as first parameter - aligns with cspan_slice() and adds type safety.
2023-07-11Internal updates and doc reorg.tylov
2023-07-10Renamed input enum flags for cregex functions.tylov
2023-07-10Reverted from crange_init() to crange_make() again. Added to changelog for v4.3tylov
2023-07-08Added support for column-major md cspan.tylov
API change: the create function cspan_md(order, array, d1, d2, ...) has the new first argument order, which must be either 'C' or 'F' (C: row-major or Fortran: column-major). The representation of strides was changed.
2023-07-04Removed cco_switch; won't work without state.Tyge Løvset
2023-07-02Update in coroutine API. cco_yield, cco_await, cco_await_on, cco_block_on ↵Tyge Løvset
has changed. cco_final: renamed => cco_cleanup: Reverted i_retain template param back to => i_more.
2023-06-20Renamed `i_more` => `i_retain` (avoids undef of template parameters on next ↵Tyge Løvset
STC container inclusion).
2023-06-13Added cco_closue(Ret, Closure) to define coroutine closure.Tyge Løvset
Added back cco_await_on(child) calls.
2023-06-11Added priv/linkage.h and renamed priv/template2.h => priv/template_undef.h.Tyge Løvset
Make all examples c++ compatible, except those using cspan.h Removed: crange_obj() Renamed: crange_make() => crange_init() Renamed: cspan_make() => cspan_init() Renamed: cstr_NULL => cstr_null Renamed: csview_NULL => csview_null