Tag Info

New answers tagged


If you want a drop-in replacement of HashMap/TreeMap, then MapDB is what you're looking for. It has features such as transparent serialization to disk and multiple caching strategies (intelligent algorithm you've mentioned). Also you may consider doing all the work inside the DB, using stored procedures and temporary tables. It might be faster, because of ...


This is a task that defies static analysis. For example the not-unlikely code def open_me(dir_path, filename, extension): return open(dir_path + filename + extension) would be a tough one to catch. When faced with an insoluble problem, use heuristics. I'd go both directions with this. Assume that every filename in the tree is a candidate for being ...

Top 50 recent answers are included