[Top][All Lists]

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

[Chicken-janitors] #1172: The overhead of loading import files is notica

From: Chicken Trac
Subject: [Chicken-janitors] #1172: The overhead of loading import files is noticable
Date: Tue, 09 Dec 2014 13:56:36 -0000

#1172: The overhead of loading import files is noticable
 Reporter:  sjamaan           |       Owner:         
     Type:  defect            |      Status:  new    
 Priority:  major             |   Milestone:  someday
Component:  core libraries    |     Version:  4.9.x  
 Keywords:  modules, loading  |  
 As reported by CaptainRant via IRC, the overhead in loading a .import.scm
 is quite a lot.  This is an issue for CaptainRant in a project that
 involves loading plugins into a running binary.

 Attached is a simple test case that compares loading a full module versus
 a simple "unit" style dynamic object.

 The biggest overhead is in the call to "eval" in the generated import
 file.  This can be ripped out with no consequence to the loading of the
 plugin; this may be due to the simplicity of the plugin or really due to
 the fact that there's no code running at toplevel which requires the
 evaled import. In any case, this should be improved.

Ticket URL: <>
CHICKEN Scheme <>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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