summaryrefslogtreecommitdiffhomepage
path: root/misc
AgeCommit message (Collapse)Author
2023-05-08Final coroutine API updates.Tyge Løvset
2023-05-08More coroutine updates.Tyge Løvset
2023-05-04Updates in coroutines.h: No longer *required* with cco_final:, but only when ↵Tyge Løvset
no cleanup is needed.
2023-05-03Reverted from cco_await_with(promise, ret) to cco_await(promise, ret).Tyge Løvset
2023-05-02Changed cco_with_..() API again, final.Tyge Løvset
2023-05-02Removed cco_alive(), was same as !cco_done()Tyge Løvset
2023-05-02Improved coroutine.h, added new coro examples.Tyge Løvset
2023-05-01Replaced cco_yield(corocall, ctx, retval) with cco_await(cond) and ↵Tyge Løvset
cco_await_while(cond).
2023-05-01Remove warnings when using -Wextra.Tyge Løvset
2023-04-26Internal.Tyge Lovset
2023-04-23Tuned cmap.h and hash function.Tyge Løvset
2023-04-21Householding.Tyge Løvset
2023-04-20cmap Updates to dev43 standard.Tyge Løvset
2023-04-18Removed unneeded custom size type in maps and bits.h. Prepared for possible ↵Tyge Løvset
robin-hood impl. Improved sso_bench.c testing string hash - twice as fast as m.ankeln robin impl !?.
2023-04-14tuning of hash function. Adjusted benchmark balance.Tyge Løvset
2023-04-09Final commit before 4.2 release?Tyge Lovset
2023-04-08More docs updates, and a change in stc/extend.h.Tyge Lovset
2023-04-07More docs updating.Tyge Lovset
2023-04-07Massive documentation update/improvements.Tyge Lovset
Reduced benchmarks/plotbench repetition/sizes.
2023-04-05Internal: renamed untemplate.h to template2.hTyge Løvset
2023-04-03Split priv/template.h in two files to make mksingle.sh work.Tyge Løvset
2023-04-03Renamed c_flt_n() => c_flt_getcount(), and c_flt_count() => c_flt_counter().Tyge Lovset
2023-04-02Renamed c_flt_last(i) => c_flt_n(i) in algo/filter.hTyge Løvset
2023-04-01Update of stc/extend.hTyge Lovset
2023-03-31Added stc/extend.h: A generalized way to type-safely extend a container with ↵Tyge Lovset
new members which can be accessed from the template parameters. See examples/functor.c
2023-03-30Added crand.h - Alternative API to crandom.h, which will be deprecated.Tyge Løvset
2023-03-29Some optimizations in hash func.Tyge Løvset
2023-03-29Removed i_less_functor, i_cmp_functor, i_eq_functor and i_hash_functor: not ↵Tyge Lovset
needed. Simplified cvec_X_eq() and cdeq_X_eq()
2023-03-28Fix gauss2.cTyge Løvset
2023-03-28Example changes. Added crand.h possible replacement for crandom.hTyge Løvset
2023-03-27More RAII cleanup in examples. Also removed gauss1.c and new_deq.cTyge Løvset
2023-03-26Remove more c_with, c_autoTyge Løvset
2023-03-26Fixed bug/leak in intrusive.c example.Tyge Løvset
2023-03-26development branch for 4.2Tyge Løvset
Removed uses of c_auto and c_with in documentation examples and code examples. Still using c_defer a few places. Renamed c11/fmt.h to c11/print.h. Some additions in ccommon.h, e.g. c_const_cast(T, x). Improved docs.
2023-03-22Added c_foreach_r() macro for reverse iter of cvec, cdeq, cstack.Tyge Løvset
Moved c_find_if, c_erase_if, c_eraseremove_if to algo/filter.h Internals.
2023-03-17Reuse of coroutine context requires cco_reset of state.Tyge Løvset
2023-03-13Fixed bug and improved generic c_eraseremove_if().Tyge Løvset
2023-03-12Fix warning.Tyge Løvset
2023-03-12Replaced clist mergesort with qsort: no need for i_extern defined to include it.Tyge Løvset
2023-03-12Safer state machine in coroutine.h (internal).Tyge Løvset
Removed c_forwhile() macro. Redundant, use c_forfilter(). Removed find and eq in cspan (use general c_find_if() instead for search).
2023-03-10Rename cco_alive() => cco_suspended(). Replaced cco_done() with cco_alive().Tyge Lovset
2023-03-08Added cco_done(ctx) to check if coroutine is complete (including cleanup stage).Tyge Løvset
2023-03-07Improved/simplified c_forfilter (): last optional parameter gone. Now ↵Tyge Løvset
c_flt_take() and c_flt_takewhile() breaks the loop always. c11/fmt.h : renamed fmt_freebuffer(buf) => fmt_destroy(buf).
2023-03-01Reverted example moves.Tyge Løvset
2023-03-01Moved algorithm examples to algo folder.Tyge Løvset
2023-02-28Final cleanups on corotines.Tyge Løvset
2023-02-28Renamed cco_coroutine => overloaded cco_yield(coro, ctx, retval).Tyge Løvset
2023-02-28Fixed coroutine.h and examples. cco_return; has no arguments.Tyge Løvset
2023-02-27Added example Pythagorean triples. (Arthur O’Dwyer blog)Tyge Løvset
2023-02-27Enhanced c_with and c_scope macros. Improved coroutine.h and example.Tyge Løvset