summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2023-09-08Added optional "step" in cspan_slice() function.mastertylov
2023-09-06Renamed c_LTu(a, b) => c_less_unsigned(a, b)Tyge Løvset
Renamed c_u2i(i) => c_u2i_size(u) Renamed c_i2u(i) => c_i2u_size(i)
2023-09-05Swapped two parameters in newly renamed "internal" function stc_strnstrn().Tyge Løvset
2023-09-05Renamed (half)internal functions:Tyge Løvset
cfasthash() => stc_hash() cstrhash() => stc_strhash() cnextpow2() => stc_nextpow2()
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-30Fixed overflows in offset calculations for large md spans.Tyge Løvset
2023-08-30Smaller updates.Tyge Løvset
2023-08-30Some simplifications. Added i_ndebug macro flag to disable assertions in cspan.Tyge Lovset
2023-08-23Removed the last committed c_forint macro.tylov
2023-08-22Added c_forint and c_for macros as additions to c_forrange.Tyge Lovset
2023-08-21Small change of policy for i_eq: don't use two i_less functions to derive ↵tylov
i_eq, only from i_cmp directly, or use native ==.
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-21Some cleanups.Tyge Løvset
2023-08-21Merge branch 'master' of github.com:stclib/STCTyge Lovset
2023-08-21Added kokkos submdspan example (did not make it to c++23).Tyge Lovset
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-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-16matmult.c cleanup.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-14Simplified printspan.c exampleTyge Løvset
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-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-11Updated godbolt code.tylov
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-10Merge branch 'master' of https://github.com/stclib/STCtylov
2023-08-10Update template.h - also renamed i_cmp_native => i_use_cmpTyge Løvset
2023-08-09Bench scripts updatetylov
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