Conversation
|
Note that we are not using this module in Fastify right now, but we switched back to upstream. I'm ok to switch again if this gives an improvement. |
|
The thing is that we have already improvements because our forwarded fork is significantly faster. So we should have switched long time ago. :D I am currently working on improving the performance for checking if the ip is trustable. |
|
Can you make the switch again? |
| addr[1] === ':' | ||
| ) { | ||
| if ( | ||
| addr[2] === 'f' && |
There was a problem hiding this comment.
is symbol-by-symbol check faster than resolving slice and comparing it as a whole?
There was a problem hiding this comment.
from my experience: yes.
|
sry, I have to investigate something. |
Did you find what you were looking for? |
Currently working on the performance of this package.
There are still some perf gains to get.
Checklist
npm run testandnpm run benchmarkand the Code of conduct