Patrick Pelissier
7eb26a29f1
Reduce the number of mandatory operators for algorithm:
...
* EQUAL
* INIT
are not optional (methods depending on them won't be generated
if the operators are not defined).
2019-03-24 08:37:57 +01:00
Patrick Pelissier
0ef051e6d2
Add GLIB to string bench
2019-03-24 08:29:32 +01:00
Patrick Pelissier
0d641f0d17
Update documentation
2019-03-22 07:53:13 +01:00
Patrick Pelissier
ce6a7f6cb3
Add missing _it_end for normal dict & export it for both dict
2019-03-15 07:44:58 +01:00
Patrick Pelissier
07b4c1a9f4
Update image
2019-03-12 21:43:33 +01:00
Patrick Pelissier
4d3a82583d
Update doc
2019-03-12 21:43:18 +01:00
Patrick Pelissier
2835d53ef1
Clean up code.
2019-03-12 21:42:53 +01:00
Patrick Pelissier
620ecadec1
Update doc
2019-03-12 07:49:04 +01:00
Patrick Pelissier
dc803f23bb
Add missing const
2019-03-09 16:38:44 +01:00
Patrick Pelissier
a6d11fe897
Update doc (ALGO part)
2019-03-09 16:38:25 +01:00
Patrick Pelissier
78b05690e7
Update README
2019-03-07 19:28:46 +01:00
Patrick Pelissier
958a79ad73
Add another example
2019-03-07 19:25:39 +01:00
Patrick Pelissier
ead25c905a
Factorize common macro for FLA
2019-03-07 07:42:50 +01:00
Patrick Pelissier
97f80450ca
Update issue
2019-02-21 20:19:04 +01:00
Patrick Pelissier
8e62537604
Update ISSUE
2019-02-20 11:46:58 +01:00
Patrick Pelissier
7813182e2b
Update test.
2019-02-19 20:22:55 +01:00
Patrick Pelissier
b199fef674
Update comments and move commented asm into common function.
2019-02-18 11:02:13 +01:00
Patrick Pelissier
e27c06c227
Fix regression build with SDS & rapidstring
2019-02-18 10:55:51 +01:00
Patrick Pelissier
41b04f34e2
Fix: Uses of __thread after static keyword
2019-02-18 10:53:27 +01:00
Patrick Pelissier
b091f84f90
Update code after benching empty creation of string.
2019-02-18 10:48:03 +01:00
Patrick Pelissier
05ae9f382b
Update the barrier used to prevent the compiler from over-optimizing.
...
Shall be could enought except if using FLTO.
2019-02-18 10:47:28 +01:00
Patrick Pelissier
a36efcd888
Create new helper compiler_barrier to prevent compiler from over-optimizing bench.
2019-02-18 10:46:21 +01:00
Patrick Pelissier
af2fe9ccf9
Fix issue (sizeof instead of offsetof)
2019-02-17 09:54:56 +01:00
Patrick Pelissier
c4a5727c2a
Fix deref of NULL pointer.
2019-02-17 09:50:04 +01:00
Patrick Pelissier
31ca762c62
Add a new test case for empty string.
2019-02-17 09:49:49 +01:00
Patrick Pelissier
30bda70319
Fix issue.
2019-02-17 09:36:18 +01:00
Patrick Pelissier
7fa9d375b8
Add bench of small non empty constructor
2019-02-17 08:35:11 +01:00
Patrick Pelissier
91ae3fd4f2
Add memory barrier to limiting the effect of the optimizer on inline implementation
2019-02-16 23:20:36 +01:00
Patrick Pelissier
b00d6a9655
Add CSV output to string bench
2019-02-16 22:30:39 +01:00
Patrick Pelissier
013aa58524
Update documentation
2019-02-16 09:01:57 +01:00
Patrick Pelissier
8ce7e0483f
Update comment
2019-02-13 08:24:21 +01:00
Patrick Pelissier
582c413cd2
Add VLA allocation compatible with concurrent mempool & gc
2019-02-13 08:19:07 +01:00
Patrick Pelissier
22e16e983b
Separate mempool in two concepts:
...
* A Garbage Collector that centralizes the connexion with the threads
and registers all mempools
* the mempool that is responsible for alloc/dec of nodes.
It allows having multiple mempools registered in a GC.
2019-02-10 10:26:20 +01:00
Patrick Pelissier
7c0c16260a
Update doc
2019-02-05 22:56:02 +01:00
Patrick Pelissier
e496fbd152
Add test for string_t + OA DICT
2019-01-27 22:59:03 +01:00
Patrick Pelissier
e025de91ab
Adding OOR methods for string_t
2019-01-27 22:32:47 +01:00
Patrick Pelissier
69e2fc432f
Update doc about limitation of operator TEST_EQUAL
2019-01-27 21:16:19 +01:00
Patrick Pelissier
78ba83ce42
* Fix BOUNDED_STRING_CTE macro. In OOR context, it may create invalid constant that triggers
...
assumption fault.
* Fix _equal_p in OOR context for bounded string. This method can be called in OOR context,
so the contracts may not be verified.
2019-01-27 17:33:47 +01:00
Patrick Pelissier
6d9b61c119
Reindent
2019-01-27 17:33:17 +01:00
Patrick Pelissier
61cfa5cedd
Use of proper contract for BOUNDED_STRING.
2019-01-26 14:00:32 +01:00
Patrick Pelissier
0507d94306
Add test for IO for BOUNDED STRING
2019-01-26 13:39:47 +01:00
Patrick Pelissier
7e8919080b
Add IO for BOUNDED STRING
2019-01-26 13:38:54 +01:00
Patrick Pelissier
8406efcaab
Add test case of BOUNDED_STRING + OA DICT
2019-01-26 12:03:13 +01:00
Patrick Pelissier
2d87eb1e6a
Adding default OOR_EQUAL & OOR_SET for BOUNDED_STRING
...
to be used in OA dict
2019-01-26 12:02:50 +01:00
Patrick Pelissier
4685aac454
Add test for hash of empty string
2019-01-26 09:10:36 +01:00
Patrick Pelissier
9863a8325c
Fix assertion. NULL pointer is accepted for HASH providing the size is 0
2019-01-26 09:10:18 +01:00
Patrick Pelissier
b9514cbe72
Fix usage of API with OOR EQUAL of OA Dict
2019-01-25 20:37:33 +01:00
Patrick Pelissier
7b085d18fc
Add test case of OA DICT + concurrent
2019-01-25 20:19:52 +01:00
Patrick Pelissier
91e73520f3
Fix issue of non being able to use API_2 with OOR_SET for OA dict
2019-01-25 20:19:31 +01:00
Patrick Pelissier
aebf5c83ba
Update description of STORED_HASH dict as per remark of #44
2019-01-25 19:47:47 +01:00