They are both 100% efficient, although 240v has less loss over the same amount of length.
Insulation doesn’t matter too much if you’re just dumping the water down the drain.
But you’re right a dishwasher doesn’t have nearly as much insulating properties. The heat element in one is basically there to counter act the heat loss.