Yes, I think I mention that in the lesson. You have a trade off.
1. Instantiate the dict each time, make the code super readable and the choices right next to where they are used.
2. Make the code efficient, move the dict to a static / instance level variable away from the use case at the cost of clarity and maintainability.
My slide chose clarity and I would recommend you write clear code over fast code until you profile it and see it's too slow.
That was my motivation for the slide and demo.