loading...

re: Haskell/Python/Go web scraper comparison completed VIEW POST

TOP OF THREAD FULL DISCUSSION
re: What I suspect is that all three versions overlap on a section of the dom when traversing it from scratch for each of the two queries. I've write ...
 

Interesting, but I don't think that would be a good change to make in general, since the cost of redundant traversal isn't relevant for the use case.

Also you didn't do triple backquotes so the code shows up unformatted...

 

Thanks for the tip. It's just an interesting case of composability. In Haskell this optimization comes cheap, it means adding a single let binding. I was curious what would surmount to in go and python

code of conduct - report abuse