Hello everyone, I’ve just started reading The Little Schemer and I believe there are many who read this book here. I have a very trivial question. What could lat
stand for which appears in Ch2? (I know what it does but I’m wondering about the etymology.)
(l) of (at)oms
:+1: thanks @jesse
I need to run (dynamic-require "a.rkt" #f)
, …, (dynamic-require "z.rkt" #f)
. Each script runs quickly, but the overhead of dynamic-require
for each instantiation is a lot. Is there a way to reduce the cost?
Try making a module “a-to-z.rkt” that just contains (require "a.rkt")
… (require "a.rkt")
and then use dynamic-require
to dynamically require it.
@sorawee are you doing them all in the same namespace? dynamic-require doesn’t really have any extra overhead
Good point. It’s all different namespace.
if the all load a bunch of other code, then sharing the namespace will help a lot
So many coded information, IMHO, list-of-atoms? is so much better. :zany_face: