V2EX  ›  英汉词典
Enqueued related words: Cache Hit

Temporal Locality

定义 Definition

时间局部性(temporal locality):指在一段较短时间内,某个数据或指令一旦被访问过,很可能会在不久后再次被访问。它是“局部性原理(locality of reference)”的重要组成部分,常用于解释与设计CPU缓存(cache)虚拟内存数据库缓冲等机制。
(另一个常见相关概念是空间局部性:位置相近的数据更可能被一起访问。)

发音 Pronunciation (IPA)

/ˈtɛmpərəl loʊˈkælɪti/

例句 Examples

Temporal locality helps explain why caches can speed up programs.
时间局部性有助于解释为什么缓存能够加速程序。

Because the loop repeatedly updates the same variables, the program exhibits strong temporal locality, leading to fewer cache misses.
由于循环反复更新同一组变量,这个程序表现出很强的时间局部性,从而减少了缓存未命中。

词源 Etymology

temporal 来自拉丁语 tempus(“时间”),表示“与时间有关的”。locality 源自 local(“地方的/局部的”),表示“局部性/局部特征”。合起来 temporal locality 直译为“时间上的局部性”,强调“同一内容在时间上会被重复使用”的倾向。这一术语在计算机体系结构与操作系统领域中被广泛采用,用来概括程序访问行为的规律。

相关词 Related Words

文学与经典著作 Literary Works

  • Computer Architecture: A Quantitative Approach(John L. Hennessy, David A. Patterson)——在缓存与存储层次结构章节中系统讨论局部性(含时间局部性)。
  • Computer Systems: A Programmer’s Perspective(Randal E. Bryant, David R. O’Hallaron)——在内存层次与性能优化部分讲解局部性对缓存命中的影响。
  • Modern Operating Systems(Andrew S. Tanenbaum, Herbert Bos)——涉及虚拟内存与页面置换策略时常借助局部性概念说明程序行为。
  • The Art of Computer Programming(Donald E. Knuth)——在算法与程序行为分析的语境下,会讨论与“访问局部性/引用局部性”相关的思想与影响。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1913 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 11:33 · PVG 19:33 · LAX 03:33 · JFK 06:33
♥ Do have faith in what you're doing.