logoalt Hacker News

creatonezyesterday at 10:39 PM1 replyview on HN

...Eight seconds for a hundred matches? What does your code look like?


Replies

BiteCode_devyesterday at 11:42 PM

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.

show 1 reply