- /* last_i is used to encourage adjacent matches, allowing the RLL coding of the
- output to work more efficiently */
- last_i = -1;
+ /* want_i is used to encourage adjacent matches, allowing the RLL
+ * coding of the output to work more efficiently. */
+ want_i = 0;
+
+ if (verbose > 2) {
+ rprintf(FINFO,"hash search b=%u len=%.0f\n",
+ s->blength, (double)len);
+ }
+
+ k = MIN(len, s->blength);
+
+ map = (schar *)map_ptr(buf, 0, k);