1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-16 16:27:40 +00:00

Boot core library from image rather than source

This should speed up start time and reduce malloc/free
usage to about 15% of what is what previously for startup.
The current cost is slightly larger binary as the representaion
of the image is currently less compact than source code.
This commit is contained in:
Calvin Rose
2019-02-08 00:44:30 -05:00
parent 6321c30cb1
commit fe27df528c
26 changed files with 213 additions and 61 deletions

View File

@@ -433,5 +433,5 @@ static const JanetReg fiber_cfuns[] = {
/* Module entry point */
void janet_lib_fiber(JanetTable *env) {
janet_cfuns(env, NULL, fiber_cfuns);
janet_core_cfuns(env, NULL, fiber_cfuns);
}