Skip to main content
4 events
when toggle format what by license comment
Mar 23, 2015 at 17:00 comment added Chris Cirefice This is amazing, and exactly the kind of code needed to do the job! It cut my original 2-minute run on 14.5 million IPs to just 21 seconds, including processing the input file and building the Trie. @rolfl had good improvements as well, but this one takes the cake. Since it's just a utility method, I don't mind the implementation being a bit more complicated with the binary operations :)
Mar 23, 2015 at 16:58 vote accept Chris Cirefice
Mar 19, 2015 at 9:34 history edited JS1 CC BY-SA 3.0
Added timings for many programs. Removed vestigial "segment" variable.
Mar 19, 2015 at 9:05 history answered JS1 CC BY-SA 3.0