[internal] Make string comparisons faster

This commit is contained in:
Jarred Sumner
2022-12-04 06:53:53 -08:00
parent 34b2e9acc2
commit 714ce7619d
25 changed files with 150 additions and 256 deletions

View File

@@ -26,7 +26,7 @@ pub const BundledPackageID = u32;
const PackageIDMap = std.AutoHashMap(BundledPackageHash, BundledPackageID);
const PackageNameMap = std.StringHashMap([]BundledPackageID);
const PackageNameMap = bun.StringHashMap([]BundledPackageID);
pub const AllocatedString = struct {
str: string,