Skip to content
Myr

feat: Re-optimize alphabet for Brotli (only chars unused by gzip backrefs) (#310)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* feat: Re-optimize alphabet for Brotli: Measure brotli sizes in size-limit * feat: Re-optimize alphabet for Brotli (only chars unused by gzip backrefs)

authored by Anton Khlynovskiy · committed by GitHub · parent c5a715d · Browse files · 3 files+55 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Anton Khlynovskiy <akhlynovskiy@tradingview.com>

Diff stats

3 files+55 added−4 removed

  • other:+55 added−4 removed

3 files+55 added−4 removed

modified:non-secure/index.js+6 added-2 removed
modified:url-alphabet/index.js+3 added-2 removed
modified:package.json+46 added
114 unmodified lines
115 "name": "async customAlphabet",116 "import": "{ customAlphabet }",117 "path": "async/index.js",118 "limit": "163 B"119 },120 {121 "name": "nanoid (brotli)",122 "brotli": true,123 "import": "{ nanoid }",124 "limit": "104 B"125 },126 {127 "name": "customAlphabet (brotli)",128 "brotli": true,129 "import": "{ customAlphabet }",130 "limit": "143 B"131 },132 {133 "name": "urlAlphabet (brotli)",134 "brotli": true,135 "import": "{ urlAlphabet }",136 "limit": "31 B"137 },138 {139 "name": "non-secure nanoid (brotli)",140 "brotli": true,141 "import": "{ nanoid }",142 "path": "non-secure/index.js",143 "limit": "72 B"144 },145 {146 "name": "non-secure customAlphabet (brotli)",147 "brotli": true,148 "import": "{ customAlphabet }",149 "path": "non-secure/index.js",150 "limit": "32 B"151 },152 {153 "name": "async nanoid (brotli)",154 "brotli": true,155 "import": "{ nanoid }",156 "path": "async/index.js",157 "limit": "111 B"158 },159 {160 "name": "async customAlphabet (brotli)",161 "brotli": true,162 "import": "{ customAlphabet }",163 "path": "async/index.js",164 "limit": "130 B"165 }166 ],167 "eslintConfig": {168 "extends": "@logux/eslint-config/ts",
118 unmodified lines