The engine is a single C file (c/glm.c, ~2,400 lines)
That file is almost 6k lines. The style also makes my eyes bleed. Why do people pretend stuffing 6k lines of code with almost no whitespace and meaningless variable names into a single file is a good thing? I’ve seen this a lot recently
Assuming the vars are all really short, it sounds like the same idea behind Webpack’s (et al) minification & mangling to achieve tiny performance gains everywhere it can. Which might mean there’s a dev version that isn’t squashed and ugly, but doesn’t make it to us…?
That file is almost 6k lines. The style also makes my eyes bleed. Why do people pretend stuffing 6k lines of code with almost no whitespace and meaningless variable names into a single file is a good thing? I’ve seen this a lot recently
Assuming the vars are all really short, it sounds like the same idea behind Webpack’s (et al) minification & mangling to achieve tiny performance gains everywhere it can. Which might mean there’s a dev version that isn’t squashed and ugly, but doesn’t make it to us…?
C is compiled; minification won’t make it faster.