It is a curious fact that in bad days we can very vividly recall the good time that is now no more; but that in good days we have only a very cold and imperfect memory of the bad.
一个奇怪的事实是,在失意的日子里,我们能够生动地想起不复存在的美好时光;而在得意的时候,对苦难的日子却只留有非常淡漠而残缺的记忆。
The top of the stack is almost always "hot" in the cache, whereas the top of the heap is almost always "cold" (because it has likely been a long time since that memory was used).
堆栈的顶部通常在高速缓存中是“热”的,而堆的顶部通常是“冷”的(因为从这部分内存使用之后可能过了很长时间)。
应用推荐