<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.karljones.com/index.php?action=history&amp;feed=atom&amp;title=Locality_of_reference</id>
		<title>Locality of reference - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.karljones.com/index.php?action=history&amp;feed=atom&amp;title=Locality_of_reference"/>
		<link rel="alternate" type="text/html" href="http://wiki.karljones.com/index.php?title=Locality_of_reference&amp;action=history"/>
		<updated>2026-10-23T19:42:51Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://wiki.karljones.com/index.php?title=Locality_of_reference&amp;diff=17178&amp;oldid=prev</id>
		<title>Karl Jones: Created page with &quot;In computer science, '''locality of reference''', also known as the '''principle of locality''', is a term for the phenomenon in which the same values, or related storage...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.karljones.com/index.php?title=Locality_of_reference&amp;diff=17178&amp;oldid=prev"/>
				<updated>2016-08-24T21:28:12Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;In &lt;a href=&quot;/index.php/Computer_science&quot; title=&quot;Computer science&quot;&gt;computer science&lt;/a&gt;, &amp;#039;&amp;#039;&amp;#039;locality of reference&amp;#039;&amp;#039;&amp;#039;, also known as the &amp;#039;&amp;#039;&amp;#039;principle of locality&amp;#039;&amp;#039;&amp;#039;, is a term for the phenomenon in which the same values, or related storage...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In [[computer science]], '''locality of reference''', also known as the '''principle of locality''', is a term for the phenomenon in which the same values, or related storage locations, are frequently accessed, depending on the memory access pattern.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of reference locality – temporal and spatial locality.&lt;br /&gt;
&lt;br /&gt;
Temporal locality refers to the reuse of specific data, and/or resources, within a relatively small time duration.&lt;br /&gt;
&lt;br /&gt;
Spatial locality refers to the use of data elements within relatively close storage locations.&lt;br /&gt;
&lt;br /&gt;
Sequential locality, a special case of spatial locality, occurs when data elements are arranged and accessed linearly, such as, traversing the elements in a one-dimensional array.&lt;br /&gt;
&lt;br /&gt;
Locality is merely one type of predictable behavior that occurs in computer systems.&lt;br /&gt;
&lt;br /&gt;
Systems that exhibit strong locality of reference are candidates for performance optimization through the use of techniques such as the caching, prefetching for memory and advanced branch predictors at the pipelining stage of processor core.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Burst mode (computing)]]&lt;br /&gt;
* [[Cache-oblivious algorithm]]&lt;br /&gt;
* [[Data oriented design]]&lt;br /&gt;
* [[File system fragmentation]]&lt;br /&gt;
* [[Memory access pattern]]&lt;br /&gt;
* [[Partitioned global address space]]&lt;br /&gt;
* [[Row-major order]]&lt;br /&gt;
* [[Scalable locality]]&lt;br /&gt;
* [[Scratchpad memory]]&lt;br /&gt;
* [[Working set]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Locality_of_reference Locality of reference] @ Wikipedia&lt;br /&gt;
&lt;br /&gt;
[[Category:Computer science]]&lt;/div&gt;</summary>
		<author><name>Karl Jones</name></author>	</entry>

	</feed>