I think he was making it easier to review/add/remove the replace-characters if needed, not so much that a 2d array was required; this allows the user to easily add/remove items without touching any of the other code. I don't think the CPU would take a hit using either method, though. Plus IMO his looks a little cleaner, to each his own.