Opened 5 months ago

#1466 new enhancement

Try to get rid of evaluated imports in generated import libraries

Reported by: sjamaan Owned by: sjamaan
Priority: major Milestone: 5.1
Component: compiler Version: 5.0
Keywords: import libraries, eval, merge-se, syntax environment Cc:
Estimated difficulty: hard

Description

As we found out in #1457 and #1172, merge-se is quadratic in complexity. This means that every import we do is potentially really slow.

Now that we only emit eval calls when generating import libraries of modules with syntax exports, it might be worthwhile to see if we can get rid of them altogether. As proposed earlier, one way to do this would be to attach the syntax environment as an alist to each macro in the import library, instead of deriving it via imports (which will actually provide a much larger environment than necessary).

Change History (0)

Note: See TracTickets for help on using tickets.