Skip to content

Commit 6617792

Browse files
committed
FEAT: releasing intermediate sources of modules and protocols after loading these on boot (to reduce memory use a little bit)
1 parent f101d9f commit 6617792

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/mezz/sys-load.r

+1
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ load-boot-exts: function [
243243
'else [export-words mod hdr/exports]
244244
]
245245
]
246+
set 'boot-exts 'done
246247
set 'load-boot-exts 'done ; only once
247248
]
248249

src/mezz/sys-start.r

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ start: func [
8686

8787
foreach [spec body] boot-prot [module spec body]
8888
;do bind-lib boot-prot
89-
;boot-prot: 'done
89+
boot-prot: 'done
9090

9191
;-- User is requesting usage info:
9292
if flags/help [lib/usage quiet: true]

0 commit comments

Comments
 (0)