...Eight seconds for a hundred matches? What does your code look like?
My bad, I should not read AI generated code while drunk at a xmas party. That's the total run time for 10000 iterations.
Average time for 100 tests is hence 0.8 ms. Completely normal, and absolutely acceptable, especially for an operation as rare as routing.
Letting my previous comment as-is for historical purposes. And to remind myself I'm a dumbass.
My bad, I should not read AI generated code while drunk at a xmas party. That's the total run time for 10000 iterations.
Average time for 100 tests is hence 0.8 ms. Completely normal, and absolutely acceptable, especially for an operation as rare as routing.
Letting my previous comment as-is for historical purposes. And to remind myself I'm a dumbass.