Ticket #89 (new defect)

Opened 2 months ago

Last modified 2 months ago

pxd caching

Reported by: robertwb Assigned to: somebody
Priority: major Milestone: wishlist
Component: Build System Version:
Keywords: Cc:

Description

When a project cimports a lot of other modules the parsing of the .pxd files can take up the majority of the runtime. (This is the case with Sage). It would be nice to be able to cache the parse and reload it directly.

Attachments

pxd-cache.patch (13.6 kB) - added by robertwb on 09/27/2008 01:32:40 PM.
DO NOT APPLY

Change History

09/27/2008 01:32:40 PM changed by robertwb

  • attachment pxd-cache.patch added.

DO NOT APPLY

09/27/2008 01:33:34 PM changed by robertwb

The attached file works, but ends up slowing things down due to the fast that the pickle grows huge (caching copies of the entire state of the compile). It may have some good ideas though.