3 ms·
Sorry but that's a really stupid comment. You are just saying that C is not clean. (IMHO) nginx code-base is doing a really good job dealing with micro-optimiz
by paraboul 13y ago
Sorry but that's a really stupid comment.
You are just saying that C is not clean.
(IMHO) nginx code-base is doing a really good job dealing with micro-optimization.
>code looks like if it uses trillions of mutable state
Actually, that's a very good approach. e.g. : nginx parser get optimized out as a big jump table (http://en.wikipedia.org/wiki/Branch_table http://en.wikipedia.org/wiki/Branch_table)
- zzzcpan 13y agoI didn't mean nginx parser and state machines in general as mutable states, but rather state changes in variables across multiple functions and files. They are impossible to keep track of and nginx is full of them.