drathier / stack-overflow-import

Import arbitrary code from Stack Overflow as Python modules.
3.7k stars 128 forks source link

Caching for already resolved "questions" #10

Closed hvm2hvm closed 7 years ago

hvm2hvm commented 7 years ago

Making the requests to Stack Overflow on every run of the program is not efficient.

Once a question/code piece was found and downloaded it should be cached.

drathier commented 7 years ago

There's no need to memoize when the site loads this fast. https://blog.codinghorror.com/performance-is-a-feature/