diff options
author | 2023-07-11 19:14:34 -0700 | |
---|---|---|
committer | 2023-07-11 19:14:34 -0700 | |
commit | cbb88672f217a90db1aa1eb29cd92d5d9035b22b (patch) | |
tree | 43a00501f3cde495967e116f0b660777051551f8 /src/blob.zig | |
parent | 1f900cff453700b19bca2acadfe26da4468c1282 (diff) | |
parent | 34b0e7a2bbd8bf8097341cdb0075d0908283e834 (diff) | |
download | bun-jarred/esm-conditions.tar.gz bun-jarred/esm-conditions.tar.zst bun-jarred/esm-conditions.zip |
Merge branch 'main' into jarred/esm-conditionsjarred/esm-conditions
Diffstat (limited to 'src/blob.zig')
-rw-r--r-- | src/blob.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blob.zig b/src/blob.zig index a4a187530..96a6c7783 100644 --- a/src/blob.zig +++ b/src/blob.zig @@ -42,14 +42,14 @@ pub const Map = struct { pub fn get(this: *Map, key: string) ?Blob { this.lock.lock(); defer this.lock.unlock(); - return this.map.get(std.hash.Wyhash.hash(0, key)); + return this.map.get(bun.hash(key)); } pub fn put(this: *Map, key: string, blob: Blob) !void { this.lock.lock(); defer this.lock.unlock(); - return try this.map.put(std.hash.Wyhash.hash(0, key), blob); + return try this.map.put(bun.hash(key), blob); } pub fn reset(this: *Map) !void { |