function lm_init(s) {
  s.window_size = 2 * s.w_size;
  /*** CLEAR_HASH(s); ***/ zero(s.head); // Fill with NIL (= 0);
  /* Set the default configuration parameters:
   */ s.max_lazy_match = configuration_table[s.level].max_lazy;
  s.good_match = configuration_table[s.level].good_length;
  s.nice_match = configuration_table[s.level].nice_length;
  s.max_chain_length = configuration_table[s.level].max_chain;
  s.strstart = 0;
  s.block_start = 0;
  s.lookahead = 0;
  s.insert = 0;
  s.match_length = s.prev_length = MIN_MATCH - 1;
  s.match_available = 0;
  s.ins_h = 0;
}
/* ===========================================================================
 * Initialize the "longest match" routines for a new zlib stream
 */
Initialize the "longest match" routines for a new zlib stream
Initialize the " longest match " routines for a new zlib stream
function lm_init(s) {
  s.window_size = 2 * s.w_size;
   zero(s.head); 
   s.max_lazy_match = configuration_table[s.level].max_lazy;
  s.good_match = configuration_table[s.level].good_length;
  s.nice_match = configuration_table[s.level].nice_length;
  s.max_chain_length = configuration_table[s.level].max_chain;
  s.strstart = 0;
  s.block_start = 0;
  s.lookahead = 0;
  s.insert = 0;
  s.match_length = s.prev_length = MIN_MATCH - 1;
  s.match_available = 0;
  s.ins_h = 0;
}
function lm_init ( s ) { s . window_size = 2 * s . w_size ; zero ( s . head ) ; s . max_lazy_match = configuration_table [ s . level ] . max_lazy ; s . good_match = configuration_table [ s . level ] . good_length ; s . nice_match = configuration_table [ s . level ] . nice_length ; s . max_chain_length = configuration_table [ s . level ] . max_chain ; s . strstart = 0 ; s . block_start = 0 ; s . lookahead = 0 ; s . insert = 0 ; s . match_length = s . prev_length = MIN_MATCH - 1 ; s . match_available = 0 ; s . ins_h = 0 ; }
Initialize the "longest match" routines for a new zlib stream
Initialize the " longest match " routines for a new zlib stream
/*** CLEAR_HASH(s); ***/ // Fill with NIL (= 0); /* Set the default configuration parameters:
   */