4 ms·
Abuse of the switch statement? The firm bought a company and we found in their source code that they had created a 50,000 case-statement monster. We asked that
by chiph 10y ago
Abuse of the switch statement? The firm bought a company and we found in their source code that they had created a 50,000 case-statement monster.
We asked that they refactor it, and they agreed because the sheer size of it was giving the compiler problems. So they divided it into two separate 25,000 case-statement monsters.
- noobermin 10y agoThat moment when your jump causes a cache miss.