Branch: Tag:

2018-01-19

2018-01-19 17:28:42 by Martin Nilsson <nilsson@fastmail.com>

Remove disabled code.

336:    for(prev = md->hash + e; (k = *prev);) {    count++;    if (REFCOUNTED_TYPE(TYPEOF(k->val)) && -  (*k->val.u.refs == 1)) { -  /* map_delete(memsearch_cache, &k->ind); */ +  (*k->val.u.refs == 1)) +  {    *prev = k->next;    free_svalue(&k->ind);    free_svalue(&k->val);    mapping_free_keypair(md, k);    md->size--;    continue; -  } else if (count < 10) { -  // locate_references(k->val.u.refs); +     }    prev = &k->next;    }