Skip to content

Commit 2c7aec3

Browse files
committed
Move data compression part to optional
Signed-off-by: Darshan Sen <raisinten@gmail.com>
1 parent a2f4bfe commit 2c7aec3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/virtual-file-system-requirements.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@ it is possible for the single-executable to be able to execute only executable
2626
files. Other than that, all the bundled files would be readable and none will be
2727
writable.
2828

29-
## Optional data compression
30-
31-
As an application grows, bundling all the source code, dependencies and static
32-
assets into a single file without compression would quickly reach the maximum
33-
segment / file (depending on the embedding approach) size limit imposed by the
34-
single executable file format / OS. A solution to this problem would be to
35-
minify the JS source files but that might not be enough for other kinds of
36-
files, so supporting data compression seems to be a better solution.
37-
3829
## Preserve file-hierarchy information
3930

4031
A filesystem is incomplete without this because there's no way for the
@@ -148,6 +139,15 @@ emacs, ...) won't object to build native integrations with it (for instance,
148139
Esbuild recently added zip support to integrate w/ Yarn's zip installs; it would
149140
have been a much harder sell if Yarn had used a custom-made format).
150141

142+
## Optional data compression
143+
144+
As an application grows, bundling all the source code, dependencies and static
145+
assets into a single file without compression would quickly reach the maximum
146+
segment / file (depending on the embedding approach) size limit imposed by the
147+
single executable file format / OS. A solution to this problem would be to
148+
minify the JS source files but that might not be enough for other kinds of
149+
files, so supporting data compression seems to be a better solution.
150+
151151
[ASAR]: https://github.com/electron/asar
152152
[Git executables]: https://github.com/desktop/dugite-native/releases/
153153
[dugite]: https://www.npmjs.com/package/dugite

0 commit comments

Comments
 (0)