JargonFile/original/html/S/swizzle.html
2014-03-27 18:54:56 +00:00

9 lines
2.1 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>swizzle</title><link rel="stylesheet" href="../../jargon.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.61.0"/><link rel="home" href="../index.html" title="The Jargon File"/><link rel="up" href="../S.html" title="S"/><link rel="previous" href="Swiss-Army-chainsaw.html" title="Swiss-Army chainsaw"/><link rel="next" href="sync.html" title="sync"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">swizzle</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Swiss-Army-chainsaw.html">Prev</a> </td><th width="60%" align="center">S</th><td width="20%" align="right"> <a accesskey="n" href="sync.html">Next</a></td></tr></table><hr/></div><dt><a id="swizzle"/><dt xmlns="" id="swizzle"><b>swizzle</b>: <span xmlns="http://www.w3.org/1999/xhtml" class="grammar">v.</span></dt></dt><dd><p> To convert external names, array indices, or references within a
data structure into address pointers when the data structure is brought
into main memory from external storage (also called <span class="firstterm">pointer swizzling</span>); this may be done for speed
in chasing references or to simplify code (e.g., by turning lots of name
lookups into pointer dereferences). The converse operation is sometimes
termed <span class="firstterm">unswizzling</span>. See also
<a href="snap.html"><i class="glossterm">snap</i></a>.</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Swiss-Army-chainsaw.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../S.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="sync.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Swiss-Army chainsaw </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> sync</td></tr></table></div></body></html>