diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-07 10:48:58 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-07 10:48:58 -0500 |
commit | b286fb5aa3999ab6834f563c3b86bcf558312a00 (patch) | |
tree | 39c95af78505ac7ef6116828694504acf6bf5211 /emcc | |
parent | e56dbf9e7c329b91f43794320cc01b41f5f65d5a (diff) |
comments on --embed-file being inefficient, and recommending --preload-file
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -311,6 +311,13 @@ Options that are modified or new in %s include: If a directory is passed here, its entire contents will be embedded. + Note: Embedding files is much less + efficient than preloading them. You + should only use it for small amounts + of small files. Instead, use + --preload-file which emits efficient + binary data. + --preload-file <name> A file to preload before running the compiled code asynchronously. Otherwise similar to --embed-file, except that this |