Skip to content

Commit

Permalink
README.md: On worker size
Browse files Browse the repository at this point in the history
  • Loading branch information
Rillke committed Feb 23, 2015
1 parent be47fb5 commit cbeae26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ A more extensive example is available on the [project's website](https://blog.ri
### Bummer! A 3.5 MiB web worker!
Yeah, the data file - `flac.data.js` - is huge but conists mostly of null characters and compresses very well; a compressed size of 30.2 KB when sent `gzip`ed is possible.

In case one is just out for encoding to flac, one might replace `worker/flac.js` with `worker/flac.encoder.js` and `worker/flac.data.js` with `flac.encoder.data.js` in the [downloaded project page](https://github.com/Rillke/flac.js/zipball/gh-pages). This way the worker is about 1 MiB in total (uncompressed).

The 3.5 MiB results from flac's decoder and analyzer's [huge stack size](http://lists.xiph.org/pipermail/flac-dev/2015-January/005420.html).

## Contributing
Submit patches to this GitHub repository or [file issues](https://github.com/Rillke/flac.js/issues).

Expand Down

0 comments on commit cbeae26

Please sign in to comment.