- var long new_size = this->_size + (this->_size >> 1) + 1; // _size*1.5
- var long new_modulus = inherited::compute_modulus(new_size);
- var void* new_total_vector = malloc_hook(new_modulus*sizeof(long) + new_size*sizeof(htxentry));
- var long* new_slots = (long*) ((char*)new_total_vector + 0);
- var htxentry* new_entries = (htxentry *) ((char*)new_total_vector + new_modulus*sizeof(long));
- for (var long hi = new_modulus-1; hi >= 0; hi--)
+ var intptr_t new_size = this->_size + (this->_size >> 1) + 1; // _size*1.5
+ var intptr_t new_modulus = inherited::compute_modulus(new_size);
+ var void* new_total_vector = malloc_hook(new_modulus*sizeof(intptr_t) + new_size*sizeof(htxentry));
+ var intptr_t* new_slots = (intptr_t*) ((char*)new_total_vector + 0);
+ var htxentry* new_entries = (htxentry *) ((char*)new_total_vector + new_modulus*sizeof(intptr_t));
+ for (var intptr_t hi = new_modulus-1; hi >= 0; hi--)