Ticket #89 (new defect)

Opened 6 years ago

Last modified 6 years ago

pxd caching

Reported by: robertwb Owned by: somebody
Priority: major Milestone: wishlist
Component: Build System 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 Download (13.6 KB) - added by robertwb 6 years ago.
DO NOT APPLY

Change History

Changed 6 years ago by robertwb

DO NOT APPLY

Changed 6 years ago 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.

Note: See TracTickets for help on using tickets.