Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ DoNotOptimize
Function
DoNotOptimize
library/cpp/testing/benchmark/bench.h:80–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
78
*/
79
template <typename T>
80
Y_FORCE_INLINE void DoNotOptimize(T&& datum) {
81
::DoNotOptimizeAway(std::forward<T>(datum));
82
}
83
84
int Main(int argc, char** argv);
85
}
Callers
11
FindHeaderFirstMatch
Function · 0.50
FindHeaderNoMatchSameSize
Function · 0.50
FindHeaderNoMatchDifferentSizesNoCommonPrefix
Function · 0.50
FindHeaderNoMatchDifferentSizesCommonPrefix
Function · 0.50
FindHeaderMoreRealisticUseCase
Function · 0.50
CaseInsensitiveHash
Function · 0.50
CaseInsensitiveHashRandomSizes
Function · 0.50
BenchmarkCompare
Function · 0.50
TestPureFutureChainSubscribe
Function · 0.50
TestPureFutureChainApply
Function · 0.50
TestCoroFutureChain
Function · 0.50
Calls
1
DoNotOptimizeAway
Function · 0.85
Tested by
3
TestPureFutureChainSubscribe
Function · 0.40
TestPureFutureChainApply
Function · 0.40
TestCoroFutureChain
Function · 0.40