Opened 5 years ago

Last modified 2 years 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.4
Component: compiler Version: 5.0.0
Keywords: import libraries, eval, merge-se, syntax environment Cc:
Estimated difficulty: hard


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 (3)

comment:1 Changed 4 years ago by sjamaan

Milestone: 5.15.2

Getting ready for 5.1, moving tickets which won't make it in to 5.2.

comment:2 Changed 4 years ago by felix winkelmann

Milestone: 5.25.3

comment:3 Changed 2 years ago by felix winkelmann

Milestone: 5.35.4
Note: See TracTickets for help on using tickets.