Patrick Pelissier
e802e22b7b
Port to new API
2025-05-29 14:58:09 +02:00
Patrick Pelissier
3fbe8ec0b6
Update _transform, _reduce and _map_reduce to be more flexible
...
Rename _map_reduce to _transform_reduce
2025-05-29 10:41:20 +02:00
Patrick Pelissier
34085aa637
WIP to allow recursive variant
2025-05-29 10:40:19 +02:00
Patrick Pelissier
77033e2020
Move to V0.8.1
2025-05-29 10:39:42 +02:00
Patrick Pelissier
5c57ad1f51
Add example on tree
2025-05-24 17:40:29 +02:00
Patrick Pelissier
27621db95d
Add method _left, right, _up and _down for tree to get directly an iterator to the requested element
2025-05-24 17:38:57 +02:00
Patrick Pelissier
eab3f701a8
Fix displayed size in case of overflow computation
2025-05-24 10:18:15 +02:00
Patrick Pelissier
cbc5f17cf0
Update Makefile and dependencies
V0.8.0
2025-05-11 11:22:49 +02:00
PpHd
02a39fce3f
Merge pull request #134 from P-p-H-d/feature/new-memory-model
...
New memory model
2025-05-08 22:14:17 +02:00
Patrick Pelissier
7c4f94a674
Remove obsolete m-mempool.h header
2025-05-07 22:09:56 +02:00
Patrick Pelissier
8c70a1f96c
Remove obsolete m-concurrent.h header
2025-05-07 22:01:38 +02:00
Patrick Pelissier
25dcdeed69
Remove obsolete m-i-shared.h header
2025-05-07 21:57:53 +02:00
Patrick Pelissier
7e8cb07a6c
Port to shared-ptr interface
2025-05-07 21:50:26 +02:00
Patrick Pelissier
2296f203fd
Remove obsolete m-shared.h header
2025-05-07 21:34:18 +02:00
Patrick Pelissier
790ae33334
Remove obsolete m-c-mempool.h header
2025-05-07 21:28:13 +02:00
Patrick Pelissier
d795476157
Update version
2025-05-07 21:02:55 +02:00
Patrick Pelissier
6a2bdc49fb
Update API incompatibility & documentation
2025-05-07 21:02:24 +02:00
Patrick Pelissier
725f42852e
Update markdown
2025-05-07 21:02:24 +02:00
Patrick Pelissier
bfcc4134d6
Fix markdown
2025-05-07 21:02:24 +02:00
Patrick Pelissier
de6ccc293e
Update doc
...
Update M_USE_GLOBAL_CONTEXT definition to be simpler.
2025-05-07 21:02:24 +02:00
Patrick Pelissier
d9953daf59
Update doc
2025-05-07 21:02:24 +02:00
Patrick Pelissier
1a62f5a4ed
Update doc
2025-05-07 21:02:24 +02:00
Patrick Pelissier
3721129da1
Update prototype of memory functions
...
to always get the memory context parameter
(even if it is not needed) to provide a cleaner
and simpler user interface
(instead of requesting the user to use directly m_context).
2025-05-07 21:02:24 +02:00
Patrick Pelissier
f585167fa8
Simplify code (remove redundant intermediary macro)
2025-05-07 21:02:24 +02:00
Patrick Pelissier
6d5d34fb72
Update
2025-05-07 21:02:24 +02:00
Patrick Pelissier
196db1cf62
Improve test suite
2025-05-07 21:02:24 +02:00
Patrick Pelissier
174c62015b
Workaround wrong analyze by GCC analyzer
2025-05-07 21:02:24 +02:00
Patrick Pelissier
fb3140e645
Fix warning of unused variable.
2025-05-07 21:02:24 +02:00
Patrick Pelissier
431e3a1228
Update doc (WIP)
2025-05-07 21:02:24 +02:00
Patrick Pelissier
3ddf9438da
Update
2025-05-07 21:02:24 +02:00
Patrick Pelissier
6e8aa58bd6
Update doc
2025-05-07 21:02:24 +02:00
Patrick Pelissier
df37a5d8f1
Fix
2025-05-07 21:02:24 +02:00
Patrick Pelissier
2ad8d42401
Update summary
2025-05-07 21:02:24 +02:00
Patrick Pelissier
8f47fb35ae
Use of context for nearly all M*LIB
2025-05-07 21:02:24 +02:00
Patrick Pelissier
a1a5ae749d
Fix oplist of bitset
2025-05-07 21:02:24 +02:00
Patrick Pelissier
147bc0a363
Fix ALGO and oplist doesn't providing IT_REF
2025-05-07 21:02:24 +02:00
Patrick Pelissier
33aa102b7c
Port DualPush list to new format
2025-05-07 21:02:24 +02:00
Patrick Pelissier
bd9485a3fe
Port algo to new memory format
2025-05-07 21:02:24 +02:00
Patrick Pelissier
0de3c622e3
Port algo to new memory format
2025-05-07 21:02:24 +02:00
Patrick Pelissier
93a1be616d
Rename parameter pool to context
2025-05-07 21:02:24 +02:00
Patrick Pelissier
692c0487af
Update oplist for new memory model
2025-05-07 21:02:24 +02:00
Patrick Pelissier
22ccae74c3
Minor optimization of stable_sort
2025-05-07 21:02:24 +02:00
Patrick Pelissier
586d0ae13a
Update documentation
2025-05-07 21:02:24 +02:00
Patrick Pelissier
c7bad98a7e
Port ARRAY oplist to support local memcontext
2025-05-07 21:02:24 +02:00
Patrick Pelissier
8e3a06b852
Simplify OPLIST definition as INIT_MOVE is mandatory for arrays
2025-05-07 21:02:24 +02:00
Patrick Pelissier
d548117538
Make M*LIB stricter for INIT_MOVE operator:
...
* either the default INIT_MOVE operator works ('=')
* either an INIT_MOVE method is defined
* or it is disabled.
As a consequence, fix usage of testobj_t and mpz_t in the repository
The emulation layer of INIT_MOVE using INIT_SET+CLEAR is removed:
it wasn't working correctly with the local memory context
(INIT_MOVE doesn't need any local memory context to work,
whereas INIT_SET/CLEAR does)
Remove macro M_DO_INIT_MOVE as it is now useless and uses M_CALL_INIT_MOVE.
The INIT_MOVE default method no longer sets the old 'src' to '0':
it was useless (it doesn't catch any error) and complicates compiler parsing.
Fix POD & A1 & CSTR & classic oplists definition (missing INIT_MOVE operators).
2025-05-07 21:02:24 +02:00
Patrick Pelissier
3a39ce5a4a
Reformat
2025-05-07 21:02:24 +02:00
Patrick Pelissier
fa41f3affd
M_INIT_VAI supports API
2025-05-07 21:02:24 +02:00
Patrick Pelissier
0d0747dea9
Update oplists
2025-05-07 21:02:24 +02:00
Patrick Pelissier
ab75397e21
TCC now supports m-generic
2025-05-07 21:02:24 +02:00