diff options
author | 2021-10-04 03:28:55 -0700 | |
---|---|---|
committer | 2021-10-04 03:28:55 -0700 | |
commit | 0eb3c1d3937aa4e45e50bebe7ef0fc0c67ce8b19 (patch) | |
tree | 7bcbd8443cae90d9e200e5347db88993168c73a3 /packages/bun-cli/scripts/postinstall.ts | |
parent | cb6a1b7225055575c526ac05bcf45d8bad5ce978 (diff) | |
download | bun-0eb3c1d3937aa4e45e50bebe7ef0fc0c67ce8b19.tar.gz bun-0eb3c1d3937aa4e45e50bebe7ef0fc0c67ce8b19.tar.zst bun-0eb3c1d3937aa4e45e50bebe7ef0fc0c67ce8b19.zip |
Improve Bun's performance by 5%
By making E.Identifier not a pointer, we improve performance by 5%. Heap allocations are bad
Diffstat (limited to 'packages/bun-cli/scripts/postinstall.ts')
-rw-r--r-- | packages/bun-cli/scripts/postinstall.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/bun-cli/scripts/postinstall.ts b/packages/bun-cli/scripts/postinstall.ts index e0f6adf54..758174d2a 100644 --- a/packages/bun-cli/scripts/postinstall.ts +++ b/packages/bun-cli/scripts/postinstall.ts @@ -336,6 +336,7 @@ const knownUnixlikePackages: Record<string, string> = { // "android arm64 LE": "bun-cli-android-arm64", "darwin arm64 LE": "bun-cli-darwin-aarch64", "darwin x64 LE": "bun-cli-darwin-x64", + "linux x64 LE": "bun-cli-linux-x64", // "freebsd arm64 LE": "bun-cli-freebsd-arm64", // "freebsd x64 LE": "bun-cli-freebsd-64", // "openbsd x64 LE": "bun-cli-openbsd-64", @@ -344,7 +345,7 @@ const knownUnixlikePackages: Record<string, string> = { // "linux ia32 LE": "bun-cli-linux-32", // "linux mips64el LE": "bun-cli-linux-mips64le", // "linux ppc64 LE": "bun-cli-linux-ppc64le", - // "linux x64 LE": "bun-cli-linux-64", + // "sunos x64 LE": "bun-cli-sunos-64", }; |