---------- Forwarded message ---------- From: Michał Kwiatkowski <[email protected]> Date: 2009/3/23 Subject: [Pythoscope] Static inspection in constant memory To: [email protected]
Hi, I've just completed a feature that I've been working on for the last two weeks. In short, it allows Pythoscope to analyze projects of practically any size and number of modules. I achieved that by decoupling modules' ASTs from the rest of Pythoscope data and storing them separately, in their own pickle files. During test generation only a handful (exactly one in most cases) of ASTs are modified, so there's no need to keep all of them in memory at once. I successfully tested the feature on the Leo editor source code, which has 320k LOC and more than 10Mb of source code in total. For those willing to give it a try: bzr branch lp:~ruby/pythoscope/memory-profiling Note that you'll have to reinitialize your dot pythoscope directory if you used other version of pythoscope before. There are still some corner cases to check, but I hope to merge this branch into trunk this week. Cheers, mk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
