Well, since you are talking about the Tilemap class, I'm guessing that in each loop it creates a bitmap. That might cause lag, because if I recall correctly, bitmaps take a while to make.
And about your original question, I think they are about the same, but I'll let someone else answer better.