Modify ↓
Opened 7 weeks ago
Last modified 15 hours ago
#24876 new enhancement
[patch] Improve PowerLines test performance
| Reported by: | gaben | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 26.09 |
| Component: | Core validator | Version: | |
| Keywords: | Cc: | GerdP |
Description
While working on #24851, I discovered some inefficiencies. In my tests, I managed to make the test run approximately 8 times faster.
I'll work on the patch to make sure nothing broke, because I'm a bit suspicious.
The patch will follow soon. Ping me if I forget.
Attachments (1)
Change History (3)
by , 15 hours ago
| Attachment: | 24876-v2.patch added |
|---|
comment:1 by , 15 hours ago
| Summary: | Improve PowerLines test performance → [patch] Improve PowerLines test performance |
|---|
comment:2 by , 15 hours ago
| Milestone: | → 26.09 |
|---|
Note:
See TracTickets
for help on using tickets.



Something like this. Avoiding the per-node evaluation of findCrossings() gives an 8x performance increase on my test data with the same output.
There are also some memory allocation improvements.