|
From: | Sven Hartrumpf |
Subject: | [Chicken-users] Declare large expressions as read-only and not gc-able? |
Date: | Sun, 05 Jan 2014 18:07:33 +0100 (CET) |
Hi all. Is there a recommended way to declare some large expressions (> 100 MB) in a compiled program as read-only and more importantly as not gc-able (the garbage collector should be saved from traversing these large structures again and again)? Should the constant value be compiled in or should it be read from a file? Is define-constant the right way to go? (How do other Scheme implementation handle such cases?) Ciao Sven
[Prev in Thread] | Current Thread | [Next in Thread] |