Y
Hacker News
new
|
ask
|
show
|
jobs
by
CoffeeCollector
1410 days ago
What is a “tight C loop”?
1 comments
klez
1410 days ago
It's a loop with few instruction that iterates many times, written in C.
link
CoffeeCollector
1410 days ago
Can’t we have a tight loop in any language? What’s special about C here?
link
josephcsible
1410 days ago
Tight loops in higher-level languages generally always have yield points/opportunities to break provided by the runtime, even if the loop itself doesn't appear to have any.
link
CoffeeCollector
1409 days ago
Seems to me this says more about the programmer than the language.
link
klez
1409 days ago
The fact that I was responding to someone asking what a tight *C* loop is, nothing more.
link