there's a discussion to web-standardize zstandard-compression, which digressed somewhat on javascript language-stability [1]. they want to improve performance over existing zlib using context-specific js/html/css/etc dictionaries. however, the primary author of zstandard [and lz4] laments that over a 10-year span studying [albeit small number of] websites, there were no stable design-patterns suitable for “permanent” dictionaries (not just js, but html and everything else as well). anyway, he provided snippet of keys used in the current js-dictionary, which i found interesting and wanted to share:
js:
return true;
return false}
Number.isInteger
d.type="text/javascript";
which is licensed under the Apache License, Version 2.0 */
window.console&&window.console.log
there's a discussion to web-standardize zstandard-compression, which digressed somewhat on javascript language-stability [1]. they want to improve performance over existing zlib using context-specific js/html/css/etc dictionaries. however, the primary author of zstandard [and lz4] laments that over a 10-year span studying [albeit small number of] websites, there were no stable design-patterns suitable for “permanent” dictionaries (not just js, but html and everything else as well). anyway, he provided snippet of keys used in the current js-dictionary, which i found interesting and wanted to share:
js:
return true;
return false}
Number.isInteger
d.type="text/javascript";
which is licensed under the Apache License, Version 2.0 */
window.console&&window.console.log
[1] stability of javascript design-patterns for dictionary-based compression
https://github.com/mozilla/standards-positions/issues/105#issuecomment-431198830
kai zhu
kaizhu256 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20181026/25bc44cd/attachment-0001.html>
there's a discussion to web-standardize zstandard-compression, which digressed somewhat on javascript language-stability [1]. they want to improve performance over existing zlib using context-specific js/html/css/etc dictionaries. however, the primary author of zstandard [and lz4] laments that over a 10-year span studying [albeit small number of] websites, there were no stable design-patterns suitable for “permanent” dictionaries (not just js, but html and everything else as well). anyway, he provided snippet of keys used in the current js-dictionary, which i found interesting and wanted to share:
js: return true; return false} Number.isInteger d.type="text/javascript"; which is licensed under the Apache License, Version 2.0 */ window.console&&window.console.log
[1] stability of javascript design-patterns for dictionary-based compression mozilla/standards-positions#105
kai zhu kaizhu256 at gmail.com