English
 
Help Privacy Policy Disclaimer
  Advanced SearchBrowse

Item

ITEM ACTIONSEXPORT
 
 
DownloadE-Mail
  Reference Counting in Library Design - Optionally and with Union-Find Optimization

Kettner, L. (2005). Reference Counting in Library Design - Optionally and with Union-Find Optimization. In Library-Centric Software Design (LCSD'05) (pp. 1-10). College Station, TX, USA: Department of Computer Science, Texas A&M University.

Item is

Files

show Files

Locators

show

Creators

show
hide
 Creators:
Kettner, Lutz1, Author           
Lumsdaine, Andrew, Editor
Schupp, Sibylle, Editor
Affiliations:
1Algorithms and Complexity, MPI for Informatics, Max Planck Society, ou_24019              

Content

show
hide
Free keywords: -
 Abstract: Reference counting has been used and described in abundance. We present novel ideas aimed at class implementations in library design: (1) In library design, generic classes can have variable size, such that an optimal decision for or against reference counting is not possible. We \emph{postpone} this decision to the place of class use. (2) In a context, where equality comparison for the case of equality is expensive, e.g., for exact algebraic number representations, we \emph{unify representations} whenever equality was detected, thus effectively caching equality tests. We explain an efficient implementation based on an union-find data structure. (3) Reference counting and \emph{polymorphic class hierarchies} can be combined reusing the pointer in the handle class for the polymorphism. A policy-based generic C\texttt{++} solution realizes all ideas. \emph{Standard} allocators manage all dynamic memory.

Details

show
hide
Language(s): eng - English
 Dates: 2006-06-132005
 Publication Status: Issued
 Pages: -
 Publishing info: College Station, TX, USA : Department of Computer Science, Texas A&M University
 Table of Contents: -
 Rev. Type: -
 Identifiers: eDoc: 279127
Other: Local-ID: C1256428004B93B8-067893257BDFDBC7C12570F4007BC6F1-Kettner2005Handle
 Degree: -

Event

show
hide
Title: Untitled Event
Place of Event: San Diego, CA, USA
Start-/End Date: 2005-10-16

Legal Case

show

Project information

show

Source 1

show
hide
Title: Library-Centric Software Design (LCSD'05)
Source Genre: Proceedings
 Creator(s):
Affiliations:
Publ. Info: College Station, TX, USA : Department of Computer Science, Texas A&M University
Pages: - Volume / Issue: - Sequence Number: - Start / End Page: 1 - 10 Identifier: -