Propose other variant of create_route_map #463
Replies: 1 comment
-
|
Thanks your suggestion! I like that confirmed the performance increase with However, I'm hesitant to implement the change. Although I don't have data to back me up, I think Therefore, I don't think it's worth the effort and time to change the current implementation. If you've a different use case than I have and you would get significant benefits by increasing the performance of this piece of code, let me know. I might change my mind. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Instead of looping by a fixed list, I propose to use if conditions. I measured with
timeitand this version works twice faster.Beta Was this translation helpful? Give feedback.
All reactions