Revision f4b1d94...
Go back to digest for 2nd September 2012Optimization in KDE Base
Vishesh Handa committed changes in [soprano/2.8] /:
Client: Cache the current bindings
Cache the current bindings when running the next() in a local variable.
This way we avoid asking for it during each operator[] and current.
Results in a MASSIVE performance boost - 6 secs vs 1 sec on a large
query which had a lot of bindings.
REVIEW: 106231
File Changes
Modified 2 files
- client/clientqueryresultiteratorbackend.cpp
- client/clientqueryresultiteratorbackend.h
2 files changed in total