libera/#ecl - IRC Chatlog
Search
5:51:07
erru
jackdaniel: im unsure about to go about adding --norc to give a speed boost to my executable. where is it added? i invoked the build command from within slime. should i add --norc to my inferior-lisp-program string? also i am not aware that ecl uses any rc file, because i basically just installed it a couple days / weeks ago
5:52:16
erru
but adding it to inferior-lisp-program would likely not result in a startup speed boost of my cross compiled embedded binary, would it?
5:53:18
erru
thats fine though, i can still use it for long running programs, just not really for one-shot utilities
5:55:51
erru
i am running an in-circuit icnova oem board which has 400MHz single core, 16MB RAM, 256MB NAND flash
5:56:33
jackdaniel
wow, cool; I'm glad that ECL can fit in 16M; what is the memory use when you run it?
5:57:14
erru
im just trying to find it out, just wrote a for loop calling my script 100 times :D its so funny how it prints one line every 6 secs :D
5:58:27
erru
yea but im trying to figure out how to get a second shell, im on a serial monitor which runs the script and i cant cancel it hahaha
6:26:23
erru
can you tell me what causes the long startup time? it is compiled C at the end of the day. is it some library initialization?
6:51:20
erru
while the c code looks pretty hideos, its also not half as bad as i would have expected. i have literally seen code written by real people that was less comprehensible
7:03:37
jackdaniel
yes, see src/cmp/cmpbackend-cxx/cmpmain.lsp (path from memory, may be a bit different)