Figure 1. Sodium chloride

There is a salient difference between polymers and compounds. Pure compounds like NaCl are single molecules.