From acb45f33a29950c6b1322c3bca5ae743d2f4ba30 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Mon, 20 Apr 2015 14:29:18 -0700 Subject: [PATCH] iojs style --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index b150c25..76269d1 100644 --- a/index.js +++ b/index.js @@ -123,7 +123,8 @@ function Buffer (subject, encoding) { } } - if (length > 0 && length <= Buffer.poolSize) self.parent = rootParent + var fromPool = length !== 0 && length <= Buffer.poolSize >>> 1 + if (fromPool) self.parent = rootParent return self } -- 2.34.1