diff options
author | Pascal Létourneau <pascal.letourneau@gmail.com> | 2009-09-14 20:54:13 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-28 13:21:17 (GMT) |
commit | e2584b9e910da18e7e472b5681eb7d0d1630647a (patch) | |
tree | b4f11cdf5032ba6667d341e42ef01848fcc2b964 /tests/auto | |
parent | 992f5cef19ce9e313dd06279c47d7535c6dbc857 (diff) | |
download | Qt-e2584b9e910da18e7e472b5681eb7d0d1630647a.zip Qt-e2584b9e910da18e7e472b5681eb7d0d1630647a.tar.gz Qt-e2584b9e910da18e7e472b5681eb7d0d1630647a.tar.bz2 |
Use qLowerBound in qBinaryFind
The current implementation of qBinaryFind use 64bit arithmetics even
on a 32bit system, which make it slow
The docs mention qBinaryFind will find any occurence of the search
value not necessarily the first one, but this is not case with
current implementation
So nothing prevents the use of qLowerBound
Reviewed-by: Olivier Goffart
Merge-request: 1513
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions