From 1f02de61d01d8f642310a4630ec626c670c177cd Mon Sep 17 00:00:00 2001 From: Lorenzo Zabot Date: Wed, 14 Jan 2026 10:07:53 +0100 Subject: [PATCH] Correct typo in Buffer Allocation Patterns article --- src/content/buffers/allocation-patterns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/buffers/allocation-patterns.md b/src/content/buffers/allocation-patterns.md index 2d57688..616d9dc 100644 --- a/src/content/buffers/allocation-patterns.md +++ b/src/content/buffers/allocation-patterns.md @@ -330,7 +330,7 @@ The takeaway is simple. The Buffer pool makes small, unsafe allocations even mor ## Let's measure the performance -Let's put some hard numbers behind these claims. The performance difference between `alloc` and `allocUnsafe` isn't sutle, it's a cliff. +Let's put some hard numbers behind these claims. The performance difference between `alloc` and `allocUnsafe` isn't subtle, it's a cliff. We'll run a simple benchmark. Allocate a buffer of a specific size 10,000 times and measure how long it takes. The code for these benchmarks can be found in `examples/buffer-allocation-patterns/benchmark.js`.