mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +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:
		| @@ -951,7 +951,7 @@ static const JanetReg asm_cfuns[] = { | ||||
|  | ||||
| /* Load the library */ | ||||
| void janet_lib_asm(JanetTable *env) { | ||||
|     janet_cfuns(env, NULL, asm_cfuns); | ||||
|     janet_core_cfuns(env, NULL, asm_cfuns); | ||||
| } | ||||
|  | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose