[Nepomuk] Review Request 106467: Virtuoso Backend: Optimize ODBC getCharData

Commit Hook null at kde.org
Tue May 28 15:24:28 UTC 2013


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

(Updated May 28, 2013, 3:24 p.m.)


Status
------

This change has been marked as submitted.


Review request for Nepomuk, Soprano and Sebastian Trueg.


Description
-------

    Only use 1 SQLFetchData command in most of the cases.
    
    Callgrind stats show that 67.5% of the time in this function is spent in
    the first SQLFetchData, and an additional 27% in the second SQLGetData.
    We can avoid some of this extra cost, by only calling the function
    once.

I can change the size of the default buffer if required.


Diffs
-----

  backends/virtuoso/odbcqueryresult.cpp a4f2387 

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


Testing
-------


Thanks,

Vishesh Handa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20130528/279d2992/attachment.html>


More information about the Nepomuk mailing list