Writing effective benchmarks requires that we "fool" the compiler into not pruning away code as dead, even though it really is.
在编写有效的基准时,要求我们能够“愚弄”编译器,即使它认识到代码没有用处,也不能让它将代码砍掉。
There are two children to fool the people, they catch a bird, asked the elderly: "the bird is dead or alive?"
当地有两个小孩愚弄这个老人,他们捕捉了一只小鸟,问老人:“小鸟是死的还是活的?”
应用推荐