Peter Wehrfritz
beaa909d45
configure.in -> configure.ac
...
SVN revision: 36364
2008-09-30 18:07:29 +00:00
Cedric BAIL
a44f814dd2
Using mempool improve cache locality and speed list manipulation like sort.
...
SVN revision: 36363
2008-09-30 16:48:28 +00:00
Cedric BAIL
b1768c99e6
Make eina_error depend on no other sub module that need initialization.
...
SVN revision: 36361
2008-09-30 16:25:11 +00:00
Cedric BAIL
9ef4d6b65d
Benchmark glib mempool too.
...
SVN revision: 36360
2008-09-30 15:07:35 +00:00
Cedric BAIL
9ffada517d
Faster sort initialisation.
...
SVN revision: 36359
2008-09-30 14:16:18 +00:00
Cedric BAIL
3315d29c7f
Fix chained mempool allocator.
...
SVN revision: 36355
2008-09-30 12:55:33 +00:00
Cedric BAIL
88d0babd0c
Don't remove previous result of benchmark.
...
SVN revision: 36354
2008-09-30 12:55:06 +00:00
Vincent Torri
f9a4c97693
add a config.h
...
SVN revision: 36342
2008-09-30 06:16:41 +00:00
Vincent Torri
bf372e44f9
when a .la file is passed to _LIBADD or _LDADD, automake
...
knows that the corresponding program or lib depends on
that .la file
SVN revision: 36322
2008-09-29 19:30:15 +00:00
Vincent Torri
e88e4d5fb5
* fix warning in tests
...
* add config.h when needed
* remove result/ dir before launching benchmark
SVN revision: 36321
2008-09-29 19:20:16 +00:00
Cedric BAIL
d25b46df3e
As real data came from e17. Little rename.
...
SVN revision: 36320
2008-09-29 17:08:25 +00:00
Cedric BAIL
0bc2413113
Fix prev pointer during stringshare_del.
...
SVN revision: 36319
2008-09-29 17:07:50 +00:00
Cedric BAIL
b6960f58b6
Patch from Vincent Torri that cleanup tests, coverage and benchmark.
...
SVN revision: 36315
2008-09-29 14:35:28 +00:00
Cedric BAIL
7c47066009
Change module API to use Eina_Array as we want to use mempool and module for Eina_List.
...
Fix at the same time a closing bug in eina_module.c.
SVN revision: 36312
2008-09-29 13:28:42 +00:00
Cedric BAIL
fcfa65f9a9
Update configure as we now need automake 1.10.
...
SVN revision: 36310
2008-09-29 09:46:27 +00:00
Cedric BAIL
1620af2ae0
Add benchmark for mempool (chained_mempool is disabled, because it's currently buggy).
...
SVN revision: 36309
2008-09-29 09:45:26 +00:00
Cedric BAIL
93656a916a
Fix initialization.
...
SVN revision: 36308
2008-09-29 09:43:37 +00:00
Cedric BAIL
3564707421
Fix initialization and cleanup.
...
SVN revision: 36307
2008-09-29 09:42:04 +00:00
Vincent Torri
d6ae9053ad
minor formatting
...
SVN revision: 36293
2008-09-28 13:10:08 +00:00
Vincent Torri
79375f9123
* fix clean and dist rules
...
* create eina-$(maj_version).pc.in file automatically
SVN revision: 36292
2008-09-28 12:43:21 +00:00
Vincent Torri
c403c14b1e
let the user specify his own CFLAGS
...
SVN revision: 36288
2008-09-28 11:13:31 +00:00
Cedric BAIL
2acd11a39e
Add a new type of memory pool and factorize test code.
...
SVN revision: 36267
2008-09-26 15:27:46 +00:00
Cedric BAIL
8b33d245e6
Inlined functions require NULL, so including stdlib.h is required.
...
SVN revision: 36266
2008-09-26 15:26:36 +00:00
Cedric BAIL
a466b34ea0
Faster sort from Alexandre Becoulet integrated by quarium inside eina.
...
SVN revision: 36265
2008-09-26 13:45:30 +00:00
Cedric BAIL
6f5b3584dd
Store build information inside eina_config.h, and fix magic use.
...
SVN revision: 36263
2008-09-26 11:41:55 +00:00
Cedric BAIL
42d39725b4
Last part of quarium patch.
...
SVN revision: 36257
2008-09-25 14:46:48 +00:00
Cedric BAIL
8b85ce70d4
Patch from quarium.
...
Add magic to array and list.
Need to patch autotools to generate something like eina_config.h.
SVN revision: 36256
2008-09-25 14:46:16 +00:00
Cedric BAIL
e8b25fb405
Add a sort benchmark.
...
SVN revision: 36250
2008-09-25 12:41:49 +00:00
Cedric BAIL
040e5573d9
Patch from Arnaud de Turckheim "quarium" <quarium@gmail.com>.
...
Use magic inside stringshare without slowdown of benchmark.
Fix magic when not in DEBUG mode.
SVN revision: 36246
2008-09-25 09:02:41 +00:00
Cedric BAIL
4fddcc38df
Fix error stuff.
...
SVN revision: 36225
2008-09-24 17:21:53 +00:00
Cedric BAIL
8072173d6e
As evas use of hash is below 3000 items per hash, update the tests accordingly.
...
SVN revision: 36224
2008-09-24 17:20:24 +00:00
Cedric BAIL
eec2db6edb
Fix test due to mempool internal change.
...
SVN revision: 36223
2008-09-24 17:17:22 +00:00
Cedric BAIL
550ebc9ab1
Add hash and rbtree delete callback, cleanup the code and improve performance (hash as a new internal structure).
...
We still need a hash function for removing a node from the hash and destroying it at the same time.
SVN revision: 36222
2008-09-24 17:14:29 +00:00
Jorge Luis Zapata Muga
5ed8ea7e09
+ Make the benchmark compile again
...
+ Remove unused code
SVN revision: 36213
2008-09-24 13:59:00 +00:00
Cedric BAIL
bf418729d2
Group all rbtree functions.
...
SVN revision: 36209
2008-09-24 12:58:31 +00:00
Cedric BAIL
b00e9e5c64
Use rbtree helper.
...
SVN revision: 36208
2008-09-24 12:57:26 +00:00
Jorge Luis Zapata Muga
c9f08f6124
New module API. Port this API to the mempool subsystem and the tests.
...
Now the modules can define a default function that will be called when the module is loaded and unloaded.
SVN revision: 36207
2008-09-24 12:55:31 +00:00
Cedric BAIL
8acad8a50e
Add rbtree destructor without tree reorder and use it.
...
SVN revision: 36188
2008-09-23 16:07:48 +00:00
Vincent Torri
476222cc6c
add main doc for eina_convert
...
SVN revision: 36187
2008-09-23 15:57:57 +00:00
Vincent Torri
3edd75f9ba
formatting
...
SVN revision: 36179
2008-09-23 05:24:26 +00:00
Vincent Torri
4313d2b084
* fix list doc
...
* minor other doc fixes
* link the mempool modules statically to libeina when requested
* don't compile static lib of mempool when they are built as shared lib
SVN revision: 36178
2008-09-23 05:17:49 +00:00
Cedric BAIL
f656fabac1
Make magical mask easily testable.
...
SVN revision: 36171
2008-09-22 14:45:57 +00:00
Cedric BAIL
201bba1ba8
Add benchmark for evas (also add ecore bench, but it's deactivated by default,
...
as i can't run it on my computer).
SVN revision: 36170
2008-09-22 14:27:50 +00:00
Cedric BAIL
d0871d7d7d
Eina stringshare now beat evas and ecore with this last change.
...
Benchmarking with enlightenment real data (25000 string add, 20 000 del) :
- eina: 4151399
- evas: 4286973
- ecore: 7753004
SVN revision: 36166
2008-09-22 13:11:08 +00:00
Cedric BAIL
d3e0b59223
Reduce number of malloc/free by automatically created one stringshare
...
per tree node.
SVN revision: 36165
2008-09-22 13:06:29 +00:00
Cedric BAIL
3fc07d2aac
Add helper for inlined red black tree manipulation.
...
SVN revision: 36164
2008-09-22 13:02:08 +00:00
Cedric BAIL
60d10a0b9e
Fix new inlist API.
...
SVN revision: 36163
2008-09-22 13:00:52 +00:00
Cedric BAIL
1726e80939
Use define.
...
SVN revision: 36159
2008-09-22 10:08:44 +00:00
Vincent Torri
0b93ba01a6
add doc to the counter module. remove the link to the
...
tutorial (the module is too short for a tutorial to be
useful)
SVN revision: 36126
2008-09-20 09:46:54 +00:00
Vincent Torri
f196383f8f
finish doc of the file module. Add a warning if eina_file_split() is used
...
SVN revision: 36122
2008-09-20 08:42:35 +00:00