- replace "size= 4*( (size+3)/4 );" with "size = (size + 3 ) & ~3;" - split new_mem_element into 2 functions, one to reset, another to allocate so allocating isnt checking to reset each time.
- replace "size= 4*( (size+3)/4 );" with "size = (size + 3 ) & ~3;" - split new_mem_element into 2 functions, one to reset, another to allocate so allocating isnt checking to reset each time.