Changes between Version 1 and Version 2 of Ticket #20716, comment 68


Ignore:
Timestamp:
2022-06-07T16:24:53+02:00 (4 years ago)
Author:
taylor.smock

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20716, comment 68

    v1 v2  
    1616out meta;
    1717}}}
     18
     19EDIT: Additional place for memory allocation optimization: `Way#getNodePairs` creates a list which ''could'' be sized to `Way#getNodesCount() - 1` (this would reduce the memory allocation and CPU cost by ~33% for `getNodePairs`). This means it would save an additional 5% or so of memory allocations for `PowerLines#findCrossings`. I'll apply a patch for that separately.