[Nepomuk] Review Request: Client: Cache the current bindings

Vishesh Handa me at vhanda.in
Mon Aug 27 10:22:59 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106231/
-----------------------------------------------------------

Review request for Nepomuk, Soprano, Aleix Pol Gonzalez, and Sebastian Trueg.


Description
-------

    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.


Diffs
-----

  client/clientqueryresultiteratorbackend.h 2d10756 
  client/clientqueryresultiteratorbackend.cpp babbdcc 

Diff: http://git.reviewboard.kde.org/r/106231/diff/


Testing
-------


Thanks,

Vishesh Handa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120827/947a9984/attachment.html>


More information about the Nepomuk mailing list