summaryrefslogtreecommitdiffhomepage
path: root/include
AgeCommit message (Collapse)Author
2023-08-21Some cleanups.Tyge Løvset
2023-08-19Optimized cspan_next(): awesome speedup on gcc.tylov
2023-08-19Polishing cspan.h. Updated multidim.c cspan example.tylov
2023-08-19Moved cspan_next() to shared implementation (if chosen).Tyge Lovset
2023-08-19Improved cspan_next function.Tyge Lovset
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-16Added recursive matrix multiplication example for cspan.Tyge Løvset
2023-08-15Fixed c_i2u() didn't trigger -Wsign-conversion warning.tylov
2023-08-15Reverting some internal variable names.Tyge Lovset
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-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-13Updated scheduler.c example.tylov
2023-08-13Removed csview_null - use csview_init().tylov
2023-08-13Fixed cqueue.h: cqueue_X_copy() was not defined inside a `c_no_clone` check.tylov
Reverted to 2X expansion for cvec to compete with gcc speed.
2023-08-11Finalized converting to i_use_cmp (vs i_no_cmp)tylov
2023-08-11Minor internals.Tyge Løvset
2023-08-11Minor change to cvec_push()tylov
2023-08-11Updated carc, cbox and template.h - simplifications: removed i_no_cmp/c_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-08Optimized cdeq insert (in the middle) functions.tylov
2023-08-06Merge branch 'master' of https://github.com/stclib/STCtylov
2023-08-06Improved Installation section in README.mdtylov
2023-08-02Renamed (most internal "class" type) crawstr => ccharptrTyge Løvset
2023-08-01Added some checks that a proper i_cmp/(i_hash) is defined when i_keyraw ↵Tyge Løvset
conversion type is specified for maps. Advanced usage.
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-08-01Fixed bug in cco_call_await() test.tylov
2023-07-31Renamed cco_generator() => cco_iter_struct(). More in line with ↵tylov
cco_task_struct() macro.
2023-07-30Added cco_generator(Name, ...) macro to simplify defining the iterator ↵tylov
struct. Updated example generator.c
2023-07-27An improvement in cvec/cdeq insert_uninit() impl.tylov
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-23- algo/sort.h: Use plural form of i_key (or i_val) to define default name ↵tylov
for sort, like: <i_key>s_sort_n(data, n). - Updated some examples.
2023-07-23Internal: Reorganized cqueue and cdeq: spliced out header and impl in ↵tylov
cqueue.h to priv/cqueue_hdr.h and priv/cqueue_imp.h.
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-16Moved _cspan_next2() to header section in cspan.h to allow optimizations.tylov
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.