Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.2.1
-
None
-
392b3f65d2ada9a2b8bb1cb15402efc659344432
Description
The findFirstZero API is presenting poor performance under GDB.
Implementation (which is generic) could be improved under GDB using:
def findFirstZero(self, p, maximum):
l = len(p.string())
if l > maximum:
return -1, maximum
return 0,l
Base on my test, this is equivalent and faster for small null terminated string.