KDevelop-PG-Location-Table::positionAt updated with new combined relative/binary algorithm

Milian Wolff mail at milianw.de
Fri Nov 20 23:04:50 UTC 2009


On Friday 20 November 2009 23:23:29 Jonathan Schmidt-Dominé - Developer wrote:
> I think this would be the safest way to do it:
> i = qBinaryFind(lines, lines + currentLine, offset) - lines;

has to be qLowerBound afaik, and I plan to add this stuff in the next days.
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20091121/e2439fc6/attachment.sig>


More information about the KDevelop-devel mailing list