Commit Graph
255 Commits
Author SHA1 Message Date
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
Patrick Pelissier e335c6c5fb Minor tuning 2017-03-27 16:45:02 +02:00
Patrick Pelissier 83c3b72ecc Clean up use of list. 2017-03-27 14:44:03 +02:00
Patrick Pelissier 8acf76c692 Update comments 2017-03-27 14:27:01 +02:00
Patrick Pelissier fd8021a943 Remove outdated comment. 2017-03-27 14:23:26 +02:00
Patrick Pelissier 14a9675e88 Update about memory usage. 2017-03-27 14:04:50 +02:00
Patrick Pelissier 0f144f06a5 Reduce initial alloc by 4 (to take into account limb size) 2017-03-27 13:55:09 +02:00
Patrick Pelissier c3e658d09a Optimize a little bit the functions.
Add string_cmpi_str function.
Add assertions.
2017-03-27 13:52:24 +02:00
Patrick Pelissier 8ab3b8f067 Add a new case. 2017-03-27 13:52:02 +02:00
Patrick Pelissier d67cc326b7 Add bench for sort functions. 2017-03-26 20:37:55 +02:00
Patrick Pelissier 2a5829bb23 Fix warning 2017-03-26 18:49:33 +02:00
PpHd 548e234d16 Merge pull request #7 from kkofler/bench-qt-btree
Implement test_rbtree in bench-qt.
2017-03-26 17:42:18 +02:00
Kevin Kofler f2c9280524 Implement test_rbtree in bench-qt.
There is however no measurable performance difference between a
QHashDummyValue value type and the unsigned long value type used by
test_dict1 below.
2017-03-26 15:57:24 +02:00
Patrick Pelissier 3015888e97 Update readme 2017-03-26 12:20:12 +02:00
Patrick Pelissier c5299589bb Fix representative issue in bench which result in too much computation
being removed by the compiler.
2017-03-26 11:27:27 +02:00
Patrick Pelissier c32f6a9e5b UNLIKLEY some tests.
It should not really help the compiler as it should already be able to deduce there were unlikely.
2017-03-26 11:06:17 +02:00