3 ms·
I thought you needed 2 per possible chunk? One for the base port and another to get the port difference? Though maybe that's where I was going wrong...?
by aidos 14y ago
I thought you needed 2 per possible chunk? One for the base port and another to get the port difference? Though maybe that's where I was going wrong...?
- tvdw 14y agoYou don't have to get the base port on each try, you can just re-use the previous result. I achieved this by simply storing them on the global scope and only keeping the "last" and "before last" port numbers. https://gist.github.com/38c0430b5084f8442858 https://gist.github.com/38c0430b5084f8442858 for my entire implementation.
- aidos 14y agoAh, of course - I did read through your code (obviously not carefully enough). How do you get down to 2400 requests though? Edit: saw the answers above - it's 2400 average case, not worst case.