From ee4543fc0afe7882cfeb3bea0fe543b5c24ee2b5 Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Sat, 15 Feb 2014 00:01:13 +0400 Subject: [PATCH] Comment for possible opt --- lib/zlib/deflate.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/zlib/deflate.js b/lib/zlib/deflate.js index 7e0754f..edd21c9 100644 --- a/lib/zlib/deflate.js +++ b/lib/zlib/deflate.js @@ -168,6 +168,9 @@ function fill_window(s) { later. (Using level 0 permanently is not an optimal usage of zlib, so we don't care about this pathological case.) */ + + // TODO: check if shortlinks to `s.head` & `s.prev` improve speed. + n = s.hash_size; p = n; do {