Change mesh material instantaneously

No LOD or multiple materials for now, but that will change.
Is it very expensive to iterate through all the LOD and indexes and change their materials?