chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #1466: Try to get rid of evaluated imports in generat


From: Chicken Trac
Subject: [Chicken-janitors] #1466: Try to get rid of evaluated imports in generated import libraries
Date: Thu, 24 May 2018 08:13:03 -0000

#1466: Try to get rid of evaluated imports in generated import libraries
-------------------------------------+-------------------------------------
 Reporter:  sjamaan                  |                 Owner:  sjamaan
     Type:  enhancement              |                Status:  new
 Priority:  major                    |             Milestone:  5.1
Component:  compiler                 |               Version:  5.0
 Keywords:  import libraries, eval,  |  Estimated difficulty:  hard
  merge-se, syntax environment       |
-------------------------------------+-------------------------------------
 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 [http://lists.nongnu.org/archive/html/chicken-
 hackers/2018-05/msg00024.html|I 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).

--
Ticket URL: <https://bugs.call-cc.org/ticket/1466>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]