Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly reserve place for arrays in line and polygon clipping routines
A QVector::clear() method completely reinitializes the object. Calling a QVector::reserve() before clear() is useless and causes big overhead at array append operations. Give ~6% perfomance gain. Signed-off-by: Yauhen Kharuzhy <email@example.com>
- Loading branch information
Showing with 4 additions and 4 deletions.