Patrick Pelissier
0e232d146b
Branchless version of _set_at
2017-08-14 19:19:23 +02:00
Patrick Pelissier
f539cd877f
Add comments for bitset
2017-08-14 19:05:35 +02:00
Patrick Pelissier
abd91945bc
Add multiple functions.
2017-08-14 17:06:25 +02:00
Patrick Pelissier
2f0e2397bd
Add function _swap
2017-08-14 17:06:14 +02:00
Patrick Pelissier
98f66ecf8e
Add it_insert
2017-08-13 10:18:54 +02:00
Patrick Pelissier
b701fe8228
Fix bug
2017-08-12 18:40:00 +02:00
Patrick Pelissier
a4b1a82ae0
Add new functions to deque
2017-08-12 18:20:37 +02:00
Patrick Pelissier
980170d88f
Add list _splice_back
2017-08-12 10:10:28 +02:00
Patrick Pelissier
4b11521145
Update buffer test to be more representative.
2017-08-11 21:38:41 +02:00
Patrick Pelissier
76b4e15bb0
Fix issue with printf formatting.
2017-08-11 19:56:24 +02:00
Patrick Pelissier
670502fc2d
Fix issue with GCC < 4.9
2017-08-11 19:51:52 +02:00
Patrick Pelissier
f805c810b7
Forgot to port this code.
2017-08-10 23:50:17 +02:00
Patrick Pelissier
35a391c029
Add bench of google dense hash map.
2017-08-10 23:28:52 +02:00
Patrick Pelissier
0c5dd89778
Add iterators for deque
2017-08-10 22:23:19 +02:00
Patrick Pelissier
010f397349
Rename string_get_length into string_size
...
<== Uniformisation with the other containers.
2017-08-09 23:44:27 +02:00
Patrick Pelissier
ee053a901a
Clean up code.
2017-08-09 23:39:57 +02:00
Patrick Pelissier
879e6da1d3
Update TODO
2017-08-09 23:39:40 +02:00
Patrick Pelissier
d71f5cbc4a
Update TODO
2017-08-09 22:39:15 +02:00
Patrick Pelissier
c087268884
Add ILIST_CONTRACT into the list of the macros not to be expanded for coverage.
2017-08-08 22:58:38 +02:00
Patrick Pelissier
98f383052e
Add MILIST_CONTRACT
...
Add ilist_splice
2017-08-08 22:57:56 +02:00
Patrick Pelissier
b9015c85db
Update comments. Make cast compatible with C++.
2017-08-08 22:57:33 +02:00
Patrick Pelissier
a8f124ed9b
Fix issue with C++ & G++ 4.9
2017-08-08 20:11:13 +02:00
Patrick Pelissier
75e7cdf3b2
Fix issue with C++
2017-08-08 20:11:03 +02:00
Patrick Pelissier
b63313dfcc
Added a new wrapper.
2017-08-08 20:02:39 +02:00
Patrick Pelissier
fa6d787ac8
Update doc
2017-08-07 22:57:18 +02:00
Patrick Pelissier
5f737b3b65
Fix overflow issue.
2017-08-06 23:13:49 +02:00
Patrick Pelissier
31c6459201
Fix overflow issue.
2017-08-06 23:12:29 +02:00
Patrick Pelissier
a4946a39bc
Fix overflow issue.
2017-08-06 23:05:21 +02:00
Patrick Pelissier
14c50a5b9a
Fix overflow issues when computing new size for the array.
2017-08-06 22:39:42 +02:00
Patrick Pelissier
fb7eed3c15
Update generation example.
2017-08-06 22:38:48 +02:00
Patrick Pelissier
f0c03853f8
Do not activate strlen assume for debug mode.
...
This will make debug mode faster.
It also fixes a problem with GCC7 which makes
**release**mode slower (since it called strlen!)
2017-08-06 18:29:09 +02:00
Patrick Pelissier
ccf9bd3ebb
Add more assertions
2017-08-06 11:50:11 +02:00
Patrick Pelissier
17a901faa2
Minor fixes
2017-08-06 11:48:15 +02:00
Patrick Pelissier
5c5fbd9bf0
Remove warnings for some compilers.
2017-08-05 19:26:50 +02:00
Patrick Pelissier
c3b66e053a
Add 'ftrapv' for running the test suite.
2017-08-05 19:26:24 +02:00
Patrick Pelissier
e0abba3452
Update
2017-08-05 18:24:42 +02:00
Patrick Pelissier
1415589c6d
Fix issue with deque
2017-08-05 18:21:41 +02:00
Patrick Pelissier
07c251e5ca
Add test suite for deque
2017-08-05 18:21:14 +02:00
Patrick Pelissier
ec4aa2a93a
Add first version of m-deque
2017-08-05 18:05:44 +02:00
Patrick Pelissier
f7277884a6
Fix issue for intrusive list & free :
...
we read the next pointer after freeing the memory !
2017-08-05 13:06:04 +02:00
Patrick Pelissier
ae534b4008
Update documentation of intrusive list.
2017-08-05 12:46:04 +02:00
Patrick Pelissier
c7997fdd16
Update the benchmark to add more dependency in the computation to avoid
...
too agressive compiler optimisations.
2017-08-03 21:28:42 +02:00
Patrick Pelissier
2efe03f177
Fix issue with GCC 7
2017-08-02 23:15:54 +02:00
Patrick Pelissier
ad24e936c6
Add bench over strings (taken from bstring)
2017-08-02 22:50:23 +02:00
Patrick Pelissier
a780a7d144
Add string_pbrk
2017-08-02 22:24:12 +02:00
Patrick Pelissier
7165740af3
Add function string_replace_at
...
(Compatible with C++ interface)
2017-08-02 22:02:49 +02:00
Patrick Pelissier
750de41984
Replace FREE method by DEL method as it is a single object.
2017-08-01 23:08:15 +02:00
Patrick Pelissier
eb769c7b20
Add new functions to intrusive lists:
...
* next_obj
* previous_obje
* it_remove
clear function will call clear operator from the type
and if defined, also the free operator on the object
of the list.
2017-08-01 22:57:13 +02:00
Patrick Pelissier
f62a796fbe
Update doc.
2017-07-30 18:30:32 +02:00
Patrick Pelissier
8f213d20a5
Replace iteration + splice_back by calling spimply _splice.
2017-07-29 13:04:06 +02:00