3 ms·
OK, then why not have the sensitive operation always take 100ms? If it finishes early, just sleep until the 100ms mark.
by cousin_it 12y ago
OK, then why not have the sensitive operation always take 100ms? If it finishes early, just sleep until the 100ms mark.
- daveloyall 12y agoAnd in case it takes more than 100ms or a widely variable amount of time: https://news.ycombinator.com/item?id=8691076 https://news.ycombinator.com/item?id=8691076