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

2024-03-15 Thread 'marcel...@googlemail.com' via elixir-lang-core
ne Learning consulting services businesses can consider >cost reduction while boosting performance. >- It helps organizations to timely finish the task with utmost >accuracy. >- Retrieve information using cutting edge software tools. >- Machine learning works according to

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

2024-03-15 Thread 'marcel...@googlemail.com' via elixir-lang-core
The benchmark results I'm getting are indeed not as dramatic as the fprof results, but on the other hand also more than the 5% mentioned in the PR which introduced the check: https://github.com/elixir-lang/elixir/pull/9040 ```elixir regex = ~r/^([a-z][a-z0-9\+\-\.]*):/i re_pattern =

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

2024-03-14 Thread 'marcel...@googlemail.com' via elixir-lang-core
I'm the maintainer of RDF.ex library with the RDF.IRI module mentioned in the OP. I can confirm that this fix doesn't affect the problem, since we're actually not using `URI.parse/1` most of the time (we use it only when dealing with relative URIs). Even in this case the `Regex.version/0` call