ragokan / bunicorn-benchmark

0 stars 0 forks source link

Hi there #1

Open aquapi opened 10 months ago

aquapi commented 10 months ago

:)

Why you removed Stric ;-;

aquapi commented 10 months ago

That performance is really good actually.

aquapi commented 10 months ago

image Here's my latest result.

Your routing algorithm has O(n) check btw, which is not what you should do

Normally static route should be O(1), and wildcard depends but usually it is O(depth), which is the depth of the radix tree

ragokan commented 10 months ago

I will add Stric, it is definitely so fast. For performance I don't know what is wrong with O(1), you can, of course, modify the code to contribute. Thanks a lot for suggestion!

aquapi commented 10 months ago

I already built a router that I use for stric tho See aquapi/wint

ragokan commented 10 months ago

Thank you, will do!