5 ms·
Your use of the phrase "critical section" threw me off for a second. All good now.
by copperred 9y ago
Your use of the phrase "critical section" threw me off for a second. All good now.
- dingo_bat 9y agoWhat did you think of first?
- pcordes 9y agoPresumably the usual technical meaning: https://en.wikipedia.org/wiki/Critical_section https://en.wikipedia.org/wiki/Critical_section i.e. the part protected by a lock() / unlock() in multi-threaded code.
- dingo_bat 9y agoBut isn't that exactly what OP meant?
- marcosdumay 9y agoThat deserves a place on the CS bad names gallery, just right of "strong type system". There isn't anything even critical about it, just exclusive. The usage on the context of optimization is much more deserved, although I never heard anybody calling it "section" before, just critical code, critical loop, or stuff like that.
- payne92 9y agoSorry, "hot spot" would be more accurate.