Commit Graph
270 Commits
Author SHA1 Message Date
Patrick Pelissier c2b2704d23 Fix issue with C++ 2017-04-07 17:35:48 +02:00
Patrick Pelissier 5418856d5e Make (justified) warning silent with clang.
(Already explained in the note)
2017-04-07 17:32:50 +02:00
Patrick Pelissier 898d117ceb Fix issue with C++ (missing brackets) 2017-04-07 17:29:50 +02:00
Patrick Pelissier 736e0550ca Simplify & fix issue for C++ 2017-04-07 17:28:34 +02:00
Patrick Pelissier 637dfbc9c4 Fix issue with C++: add a cast (which is stupid and error prone). 2017-04-07 17:21:52 +02:00
Patrick Pelissier 950336e0c3 Fix potential buffer overflow. 2017-04-07 17:20:40 +02:00
Patrick Pelissier d24f231cd0 Update documentation. 2017-04-07 17:20:25 +02:00
Patrick Pelissier 84d36859e4 Update doc. 2017-04-06 01:26:45 +02:00
Patrick Pelissier 4991386bb7 Add FREE operator.
Use it instead of DEL if necessary.
2017-04-06 01:21:11 +02:00
Patrick Pelissier 7b3b8a261b Add a test over dictionnary of string. 2017-04-04 23:18:35 +02:00
Patrick Pelissier c927e57122 Fix issue with clang
:
2017-04-03 23:20:15 +02:00
Patrick Pelissier d092416729 Add reference 2017-04-03 21:18:03 +02:00
Patrick Pelissier 54a3a4cd9c Change a little bit the benchmarks to be more representative. 2017-04-03 20:46:51 +02:00
Patrick Pelissier 671c600b05 Fix spelling issues. 2017-04-03 19:52:32 +02:00
Patrick Pelissier 7f339f1358 Becnh dict+mempool 2017-04-02 10:31:06 +02:00
Patrick Pelissier 2dd3b727ff Add mempool to dict. 2017-04-02 10:30:55 +02:00
Patrick Pelissier 2176cffb46 Add mempool support for rbtree. 2017-04-01 19:02:54 +02:00
Patrick Pelissier 744f5de7ad Update doc 2017-04-01 19:02:35 +02:00
Patrick Pelissier a876a1d4f1 Add bench for M*Lib with MEMPOOL usage. 2017-04-01 13:59:55 +02:00
Patrick Pelissier aee837ea37 Add option MEMPOOL for list. 2017-04-01 13:59:43 +02:00
Patrick Pelissier 49f71d96b3 Add operator MEMPOOL & MEMPOOL_LINKAGE 2017-04-01 13:59:25 +02:00
Patrick Pelissier 4e1f5f0ff7 Add protection for additional _next when end_p was reached. 2017-04-01 02:04:21 +02:00
Patrick Pelissier a2f46cd336 Add assertion 2017-04-01 02:01:36 +02:00
Patrick Pelissier 366f352d81 Remove useless C++11 reference: it confused the presentation. 2017-04-01 01:21:35 +02:00
Patrick Pelissier eceedbd9ed Remove unused function call. 2017-04-01 01:08:14 +02:00
Patrick Pelissier 9bbef32913 Fix bug 2017-03-31 23:10:07 +02:00
Patrick Pelissier e8abd99902 Add new bench 2017-03-31 22:31:10 +02:00
Patrick Pelissier b55afcd946 Runlib KLib bench only on condition that KLIB_CPPFLAGS is set. 2017-03-31 21:23:05 +02:00
Patrick Pelissier 6d6150e189 Update comment. 2017-03-31 21:22:57 +02:00
Patrick Pelissier 39e8c9e678 Add fast mempool module. 2017-03-31 21:14:45 +02:00
Patrick Pelissier 8f9bea1c64 Define NDEBUG before including any headers. 2017-03-31 00:13:44 +02:00
Patrick Pelissier 0bfa96e5af Add new macro M_SAFE_C 2017-03-31 00:03:02 +02:00
Patrick Pelissier 88711fae6c Fix #8:
get the operator NEW / DEL / REALLOC from the first element of the tuple / variant.
2017-03-30 22:20:23 +02:00
Patrick Pelissier 99ecc762bf Fix operator REALLOC 2017-03-30 22:19:47 +02:00
Patrick Pelissier 0780361c81 Add new example 2017-03-30 21:29:43 +02:00
Patrick Pelissier e6b1f7d7b5 Minor warning fixes. 2017-03-30 21:29:30 +02:00
Patrick Pelissier ebf24d41cf Export back NEW / DEL / REALLOC of oplist to container oplist 2017-03-30 20:57:44 +02:00
Patrick Pelissier a7a366c4ee Add new references. 2017-03-30 19:34:42 +02:00
Patrick Pelissier 95de9b6321 Properly aligned the char array when using STRING_CTE macro. 2017-03-29 19:06:12 +02:00
Patrick Pelissier c64c875969 Implement Meiyan Hash (Much faster)
Tests do not pass due to new alignement constraint.
2017-03-29 00:34:05 +02:00
Patrick Pelissier 29b3dd2b75 Reformat code. 2017-03-29 00:01:59 +02:00
Patrick Pelissier bf27af5388 Use of m_core_hash instead of hand written function. 2017-03-29 00:00:52 +02:00
Patrick Pelissier 0085b0df8d Use of m_core_hash for m_string_hash
(avoid duplication of code).
2017-03-28 23:57:27 +02:00
Patrick Pelissier e9a75ca608 Merge branch 'master' of https://github.com/P-p-H-d/mlib 2017-03-28 19:52:42 +02:00
Patrick Pelissier eeded8e80e Fix issues with hash functions. 2017-03-27 23:52:53 +02:00
Patrick Pelissier ff2c6d51e6 Add some likely / unlikely to some tests.
Probably useless.
2017-03-27 23:06:02 +02:00
Patrick Pelissier c6babc8856 Add some likely / unlikely some tests. 2017-03-27 21:52:09 +02:00
Patrick Pelissier 8f94c56c49 Add some likely / unlikely for some tests. 2017-03-27 21:48:17 +02:00
Patrick Pelissier 40b3b04d55 Fix bug 2017-03-27 16:54:41 +02:00
Patrick Pelissier a12e2d5f0b Add new test case. 2017-03-27 16:54:26 +02:00