Opened 7 years ago

Last modified 14 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: 6.0.0
Component: compiler Version: 5.0.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 (5)

comment:1 Changed 6 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 5 years ago by felix winkelmann

Milestone: 5.25.3

comment:3 Changed 4 years ago by felix winkelmann

Milestone: 5.35.4

comment:4 Changed 14 months ago by felix winkelmann

Milestone: 5.4someday

comment:5 Changed 14 months ago by felix winkelmann

Milestone: someday6.0.0
Note: See TracTickets for help on using tickets.