-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use Buffer.from for stringification where available (#36)
Before: ``` Uint8Arrays.fromString x 1,203,638 ops/sec ±1.53% (85 runs sampled) Uint8Arrays.toString x 376,183 ops/sec ±2.20% (74 runs sampled) ``` After: ``` Uint8Arrays.fromString x 2,051,032 ops/sec ±0.54% (88 runs sampled) Uint8Arrays.toString x 2,912,464 ops/sec ±0.38% (91 runs sampled) ```
- Loading branch information
1 parent
cf6242d
commit 0a18849
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters