|
Boost : |
From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-10-16 23:00:26
Hi All.
I updated the recently discussed RTL example to demonstrate the performance
gain that can be achieved by using the RTL transaction mechanism.
The original query, that involves a self-join of the ~20,000 row table on a
complex condition, currently takes ~79 sec. on my setup (1.5 Ghz, MinGW,
g++ -O2). Then a record is removed from the table, which invalidates all
the indexes built by that point. The transaction commit repairs indexes,
and the query is re-run.
Update, commit, and re-run together take just 1 sec.
Please take the example and the updated library (again, a few performance
issues were fixed) at the usual location:
http://www.boost-consulting.com/vault/index.php?&direction=0&order=&director
y=RTL
Please note that the directory structure of the library has been
"boostified" so please ajust you include path accordingly (although I
haven't yet put "boost/rtl" into #include statements, so it should go into
the include path for now).
Regards,
Arkadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk