FS#1058 - Very slow terraforming in some cases

Attached to Project: OpenTTD
Opened by Bilbo (bilbo) - Thursday, 19 July 2007, 18:25 GMT
Last edited by Patric Stout (TrueBrain) - Monday, 23 July 2007, 15:45 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


In r10622

In attached save, when I flatten 62x62 squares patch of land using "equalize height" to sea level (coordinates from 0x0 to 62x62), it took 6 seconds on Athlon 3000+, with nothing running on background.
When I build a bump and equalize almost the same area to height 2, it is done instantly. When I try to raise the lowered land back from sea, it is also done instantly. I think there is something buggy that causes weird slowdowns with some terraformings.
This task depends upon

Closed by  Remko Bijker (Rubidium)
Wednesday, 25 July 2007, 17:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r10686. Problem is that checking for tunnels just takes time (a little too much at the moment). Anyhow, it won't get any faster anymore, so lowering the whole 2048x2048 map will take quite some time, but that should not happen.