[Datadraw-user] cache_together implented
Brought to you by:
smilindog2000
|
From: <dat...@li...> - 2008-05-27 18:52:50
|
Hi. The cache_together directive is signed into svn and documented in the manual. It reduced runtime of DataDraw's red-black tree code in one benchmark from 42 seconds down to 28. I strongly recommend using this directive to speed up critical inner loops. Cache efficiency is the major reason DataDraw wins benchmarks vs other systems, such as C++ STL. All the wrapper functions in the database.h files are now static inline, rather than #defines. This seems to have no impact on speed, and it's kind of nice to be able to step into the functions. All class NULL values are now 0, rather than 0xffffffff, which provides a minor speedup. Best regards, Bill |