I am building a custom version of PHP for a special project (I will announce it on this forum soon
) and I noticed that one file took a really long time to compile. That strange file is ext/data/lib/parsedate.c for those who are curious.
This as I opened parsedate.c, Notepad++ hung for a few seconds. It was a 25,000 line file weighing in at almost 500 kb! The strangest part of it all is the 17,000 line switch statement it contains.
I have no idea what this file does beyond parse dates, but I found it interesting all the same.