Issue No. 08 - August (1992 vol. 18)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/32.153378
<p>Pointer swizzling is the conversion of database objects between an external form (object identifiers) and an internal form (direct memory pointers). Swizzling is used in some object-oriented databases, persistent object stores, and persistent and database programming language implementations to speed manipulation of memory resident data. The author describes a simplifying model of application behavior, revealing those aspects where swizzling is most relevant in both benefits and costs. The model has a number of parameters, which the authors have measured for a particular instance of the Mneme persistent object store, varying the swizzling technique used. The results confirm most of the intuitive, qualitative tradeoffs, with the quantitative data showing that some performance differences between schemes are smaller than might be expected. However, there are some interesting effects that run counter to naive intuition, most of which are explained using deeper analysis of the algorithms and data structures.</p>
pointer swizzling; persistent objects; database objects; object identifiers; direct memory pointers; object-oriented databases; persistent object stores; database programming language implementations; manipulation; memory resident data; Mneme persistent object store; quantitative data; data structures; data structures; object-oriented databases; software engineering
J. Moss, "Working with Persistent Objects: To Swizzle or Not to Swizzle," in IEEE Transactions on Software Engineering, vol. 18, no. , pp. 657-673, 1992.