Patrick Pelissier
|
4857137659
|
Bench dict Open Addressing.
|
2017-04-24 09:02:06 +02:00 |
|
Patrick Pelissier
|
fc3d3901ee
|
Add OOR_OPLIST operator for dict / Open Addressing.
|
2017-04-24 09:01:43 +02:00 |
|
Patrick Pelissier
|
7a60d8df62
|
Add Open Addressing implementation for dict:
* better for small type.
* need OOR_SET & OOR_EQUAL operators to handle out-of-range values.
|
2017-04-24 09:00:36 +02:00 |
|
Patrick Pelissier
|
3f9b6066d6
|
Got to C11.
|
2017-04-24 08:55:46 +02:00 |
|
Patrick Pelissier
|
f53cba86eb
|
Fix warning issue due to last change.
|
2017-04-24 08:55:28 +02:00 |
|
Patrick Pelissier
|
8a28d54e7f
|
Simplify / factorize the types of RBTREE.
|
2017-04-23 23:59:06 +02:00 |
|
Patrick Pelissier
|
d19e1a5b41
|
Add M_EMPTY_DEFAULT which is like M_NOTHING_DEFAULT except that it doesn't
evaluate its arguments.
|
2017-04-23 23:36:08 +02:00 |
|
Patrick Pelissier
|
d9fccab98e
|
Remove warning about unused variables.
|
2017-04-23 23:02:33 +02:00 |
|
Patrick Pelissier
|
bcfeb92d43
|
Remove default move operators (which are unsafe for [] arrays)
|
2017-04-23 22:55:53 +02:00 |
|
Patrick Pelissier
|
1739de33c2
|
Remove hard dependency of INIT_MOVE operator for buffer.
|
2017-04-23 22:52:47 +02:00 |
|
Patrick Pelissier
|
bc1e9239cc
|
Clean up usage of policy within buffer.
|
2017-04-23 22:46:51 +02:00 |
|
Patrick Pelissier
|
997601c54a
|
Rename M_C3(buffer_, name,_t) into buffer_t
|
2017-04-23 18:59:06 +02:00 |
|
Patrick Pelissier
|
adf15bca6f
|
Rewrite code to use dict_t & dict_it_t (clearer)
Add missing contracts.
|
2017-04-23 18:53:47 +02:00 |
|
Patrick Pelissier
|
e2f0955385
|
Do the same for intrusive list.
|
2017-04-23 18:39:31 +02:00 |
|
Patrick Pelissier
|
f1b38432aa
|
More tests.
|
2017-04-23 10:13:38 +02:00 |
|
Patrick Pelissier
|
63d311a85b
|
Add more tests.
|
2017-04-23 10:12:30 +02:00 |
|
Patrick Pelissier
|
22e9e52b13
|
Add more tests.
|
2017-04-23 10:10:57 +02:00 |
|
Patrick Pelissier
|
22dbf2bd9d
|
Simplify the writing of the list type and list it type to make reading easier.
|
2017-04-23 10:07:21 +02:00 |
|
Patrick Pelissier
|
b085b97c20
|
Define & use ARRAYI_CONTRACT for proper contract checking.
|
2017-04-23 09:58:58 +02:00 |
|
Patrick Pelissier
|
206f797e8f
|
Rewrite the array to simplify the code and make it easier to read.
|
2017-04-23 09:42:40 +02:00 |
|
Patrick Pelissier
|
a6ef9e953c
|
Update README
|
2017-04-23 09:42:29 +02:00 |
|
Patrick Pelissier
|
82a6bc7e72
|
Add CMP for CSTR
|
2017-04-22 18:08:56 +02:00 |
|
Patrick Pelissier
|
5c23fd64cc
|
Add M_CSTR_OPLIST oplist for const char *
|
2017-04-22 11:18:10 +02:00 |
|
Patrick Pelissier
|
6d0f063923
|
Add mempool benchmark.
|
2017-04-20 23:11:55 +02:00 |
|
Patrick Pelissier
|
6bd5770b3a
|
Speed up compilation speed a few by reducing the expansion of the some very used expressions.
Remove wrong assertion (length can be 0 for empty string).
|
2017-04-19 22:38:49 +02:00 |
|
Patrick Pelissier
|
9df884080d
|
Improve Makefile for older version of GCC.
|
2017-04-19 22:38:31 +02:00 |
|
Patrick Pelissier
|
618bc24bde
|
Improve the test to be hash independent.
|
2017-04-19 22:38:12 +02:00 |
|
Patrick Pelissier
|
b60cc58980
|
Change FNV1A Meiyan hash by FNV1A Jesteress
|
2017-04-18 23:21:53 +02:00 |
|
Patrick Pelissier
|
02be3b6d69
|
Remove internal dict macros for core macro.
|
2017-04-17 19:19:58 +02:00 |
|
Patrick Pelissier
|
dd012a504b
|
Fix test
|
2017-04-17 00:19:19 +02:00 |
|
Patrick Pelissier
|
f829dcdfe6
|
Add more tests.
|
2017-04-17 00:07:37 +02:00 |
|
Patrick Pelissier
|
6bcc54dd45
|
Fix spelling
|
2017-04-17 00:07:08 +02:00 |
|
Patrick Pelissier
|
29b23cae98
|
Add specialization for HASH functions if C11.
|
2017-04-16 15:07:10 +02:00 |
|
Patrick Pelissier
|
c6482ff062
|
Change hash function for klib bench and use the right hash function for 64 bits.
|
2017-04-16 14:16:07 +02:00 |
|
Patrick Pelissier
|
d5e235ed8e
|
Generalize clear default into nothing default.
|
2017-04-16 14:15:33 +02:00 |
|
Patrick Pelissier
|
d589d3135f
|
Update doc
|
2017-04-14 16:52:01 +02:00 |
|
Patrick Pelissier
|
dfed23eeaa
|
Update doc
|
2017-04-14 16:49:05 +02:00 |
|
Patrick Pelissier
|
f57968fcd8
|
Add reserve for bitset
Fix bug in resize for bitset
|
2017-04-14 11:46:24 +02:00 |
|
Patrick Pelissier
|
418d868b1d
|
Remove shrink_to_fit which is useless as reserve performs its role now too.
|
2017-04-14 11:32:17 +02:00 |
|
Patrick Pelissier
|
a1dec4dfe9
|
Update doc
|
2017-04-14 11:31:59 +02:00 |
|
Patrick Pelissier
|
608caaf9b9
|
Add new benchmark.
|
2017-04-14 11:21:32 +02:00 |
|
Patrick Pelissier
|
f69130bb06
|
Add reserve operation.
|
2017-04-14 01:24:22 +02:00 |
|
Patrick Pelissier
|
da5691da40
|
Fix bug in function (invert i & j)
|
2017-04-13 23:05:13 +02:00 |
|
Patrick Pelissier
|
5f801b0312
|
Add santize static analyse
|
2017-04-13 23:04:47 +02:00 |
|
Patrick Pelissier
|
a5dac33524
|
Add more assertions.
|
2017-04-13 22:47:39 +02:00 |
|
Patrick Pelissier
|
d5bd3674d8
|
Make it cleaner for static analysis:
add more assertions.
|
2017-04-13 22:45:27 +02:00 |
|
Patrick Pelissier
|
51f4115b7d
|
Rewrite the test to make it cleaner for static analysis.
|
2017-04-13 22:44:52 +02:00 |
|
Patrick Pelissier
|
e901f54723
|
Reformat Makefile & add scan-build.
|
2017-04-13 22:44:28 +02:00 |
|
Patrick Pelissier
|
bc9afdabed
|
Add a test
|
2017-04-13 22:16:44 +02:00 |
|
Patrick Pelissier
|
2523e53a72
|
Delete also asm file
|
2017-04-13 21:54:50 +02:00 |
|