Skip to content

Commit 6acaba7

Browse files
committed
doc: encoding-lite is even smaller now
1 parent 7c6e436 commit 6acaba7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Applications (including React Native apps) are advised to load either `@exodus/b
120120

121121
If you don't need support for legacy multi-byte encodings.
122122

123-
Reduces the bundle size 10x, while still keeping `utf-8`, `utf-16le`, `utf-16be` and all single-byte encodings specified by the spec.
123+
Reduces the bundle size ~12x, while still keeping `utf-8`, `utf-16le`, `utf-16be` and all single-byte encodings specified by the spec.
124124
The only difference is support for legacy multi-byte encodings.
125125

126126
See [the list of encodings](https://encoding.spec.whatwg.org/#names-and-labels).
@@ -805,7 +805,7 @@ new TextDecoder(getBOMEncoding(input) ?? fallbackEncoding).decode(input)
805805
806806
The exact same exports as `@exodus/bytes/encoding.js` are also exported as
807807
`@exodus/bytes/encoding-lite.js`, with the difference that the lite version does not load
808-
multi-byte `TextDecoder` encodings by default to reduce bundle size 10x.
808+
multi-byte `TextDecoder` encodings by default to reduce bundle size ~12x.
809809
810810
```js
811811
import { TextDecoder, TextEncoder } from '@exodus/bytes/encoding-lite.js'

0 commit comments

Comments
 (0)