No, a hash table can hold any number of items regardless of the number of slots, it just becomes less efficient at accessing each item the further you go over the slot count.

When using $hfind() though the slot count has no bearing on efficiency at all, so the getfile alias you've been given will work exactly the same no matter how many items you put in the hash table.