This repository was archived by the owner on Sep 20, 2023. It is now read-only.
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
Improve the performance of filter and lines #332
Open
Description
I ported weeder to foundation. It goes 30% slower compared to [Char]
, and I was hoping for a significant speedup (that was the entire point of the port). The two most egregious things in the profile are:
39.2 Foundation.String.UTF8 lines (0)
30.8 Foundation.String.UTF8 filter (210)
Namely I spend 39% in lines, and because of #331 I need to add a filter that takes 30% of the time.