Re: [elixir-core:11694] Performance of regular expression matches

2024-03-14 Thread José Valim
I will benchmark but I would be very surprised if :re.version() is the one to blame. It takes 3-4us on my machine. On Thu, Mar 14, 2024 at 5:15 PM Jan Krüger wrote: > I read the commit, and I don't it fixes what our actual problem was. See > my comment above. The problem is the actual call to :r

Re: [elixir-core:11694] Performance of regular expression matches

2024-03-14 Thread Jan Krüger
I read the commit, and I don't it fixes what our actual problem was. See my comment above. The problem is the actual call to :re.version, not the recompilation of the regex On Thursday, March 14, 2024 at 4:37:43 PM UTC+1 José Valim wrote: > I have pushed a fix to main. But also note we provide