qgis/Quantum-GIS — pull request #640 by mhugent (2013-06-07 13:41:55+00:00)
Title: Labeling performance

Horizontal and free placement for labels in polygons is currently very slow. This pull request simplifies the candidate cost calculation to improve performance. Originally, to calculate the cost of a candidate position, the position to the closest polygon boundary or obstable was evaluated in eight direction and additionally to the closest boundary/obstacle. This pull request uses only the distance to the closest boundary / obstacle, therefore saving the eight ray / segment instersections.
Please review.