calmspeaker
19th September 2008, 02:51
HI,everyone,
The title of the thread is huge,;) but I can tell a little.I hope the gurus to add some real things.
Today, the "qSort" is really amazing me,it is faster than stl "sort", time is 0.7 vs 1."qStableSort" is slower than "sort" not jumping out of my expection. time is about 6 vs 1.
In QSortFilterProxyModel, the sort() function uses "qStableSort", but I need it to behave faster,I want to change it to "qSort".Is there a fast and safe way to do the job?
The title of the thread is huge,;) but I can tell a little.I hope the gurus to add some real things.
Today, the "qSort" is really amazing me,it is faster than stl "sort", time is 0.7 vs 1."qStableSort" is slower than "sort" not jumping out of my expection. time is about 6 vs 1.
In QSortFilterProxyModel, the sort() function uses "qStableSort", but I need it to behave faster,I want to change it to "qSort".Is there a fast and safe way to do the job?