• Mike Hibler's avatar
    Don't be quite so stupid with memory allocation. I was realloc'ing the · 01585b4b
    Mike Hibler authored
    array for every 32-byte entry.  When building a hashfile with 100,000+
    entries, this caused quite a bit of moving memory around!
    
    It is still stupid, I just realloc after every 256KB or so.  Need to
    eliminate the need to have the whole thing contiguous and maybe the need
    to have the whole thing in memory at once!
    01585b4b
imagehash.c 30.5 KB