Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Efficient subtyping tests with PQ-encoding

View through CrossRef
Subtyping test , i.e., determining whether one type is a subtype of another, are a frequent operation during the execution of object-oriented programs. The challenge is in encoding the hierarchy in a small space, while simulataneously making sure that subtyping tests have efficient implmentation. We present a new scheme for encoding multiple and single inheritance hierarchies, which, in the standardized hierarchies, reduces the footprint of all previsously published schemes. The scheme is called PQ-encoding after PQ-trees , a data structure previously used in graph theory for finding the orderings that satisfy a collection of constraints. In particular, we show that in the traditional object layout model, the extra memory requirement for single inheritance hierarchies is zero. In the PQ-encoding subtyping tests are constant time, and use only two comparisons. Other than PQ-trees, PQ-encoding uses several novel optimization techniques. These techniques are applicable also in improving the performance of otehr, previously published, encoding schemes.
Association for Computing Machinery (ACM)
Title: Efficient subtyping tests with PQ-encoding
Description:
Subtyping test , i.
e.
, determining whether one type is a subtype of another, are a frequent operation during the execution of object-oriented programs.
The challenge is in encoding the hierarchy in a small space, while simulataneously making sure that subtyping tests have efficient implmentation.
We present a new scheme for encoding multiple and single inheritance hierarchies, which, in the standardized hierarchies, reduces the footprint of all previsously published schemes.
The scheme is called PQ-encoding after PQ-trees , a data structure previously used in graph theory for finding the orderings that satisfy a collection of constraints.
In particular, we show that in the traditional object layout model, the extra memory requirement for single inheritance hierarchies is zero.
In the PQ-encoding subtyping tests are constant time, and use only two comparisons.
Other than PQ-trees, PQ-encoding uses several novel optimization techniques.
These techniques are applicable also in improving the performance of otehr, previously published, encoding schemes.

Related Results

Transcriptomics extract the key chromium resistance genes of Cellulomonas
Transcriptomics extract the key chromium resistance genes of Cellulomonas
Abstract Cellulomonas fimi Clb-11 can reduce high toxic Cr (VI) to low toxic Cr (III). In this study, transcriptomics was used to analyze the key genes, which was involved ...
Subtyping of Dengue Viruses using Return Time Distribution based Appproach
Subtyping of Dengue Viruses using Return Time Distribution based Appproach
AbstractDengue virus (DENV) is the causative agent of Dengue Hemorrhagic Fever and Dengue Shock Syndrome, and continues to represent a major public health hazard. DENVs are antigen...
Decidable Subtyping for Path Dependent Types
Decidable Subtyping for Path Dependent Types
<p>Path dependent types form a central component of the Scala programming language. Coupled with other expressive type forms, path dependent types provide for a diverse set o...
Evaluating Binary Encoding Techniques in The Presence of Missing Values in Privacy-Preserving Record Linkage
Evaluating Binary Encoding Techniques in The Presence of Missing Values in Privacy-Preserving Record Linkage
IntroductionApplications in domains ranging from healthcare to national security increasingly require records about individuals in sensitive databases to be linked in privacy-prese...
Storage of Verbal Associations Is Sufficient to Activate the Left Medial Temporal Lobe
Storage of Verbal Associations Is Sufficient to Activate the Left Medial Temporal Lobe
Neuroimaging studies have shown that memory encoding activates the medial temporal lobe (MTL). Many believe that these activations are related to novelty but it remains unproven wh...
Reactivation of neural patterns during memory reinstatement supports encoding specificity
Reactivation of neural patterns during memory reinstatement supports encoding specificity
AbstractEncoding specificity or transfer appropriate processing state that memory benefits when items are encoded and retrieved in the same modality compared to when encoding and r...
Privacy Attack on Multiple Dynamic Match-key based Privacy-Preserving Record Linkage
Privacy Attack on Multiple Dynamic Match-key based Privacy-Preserving Record Linkage
Introduction Over the last decade, the demand for linking records about people across databases has increased in various domains. Privacy challenges associated with linking sensit...
High Dimensional Computing on Arabic Language Classification
High Dimensional Computing on Arabic Language Classification
Abstract The brain circuit is enormous regarding quantities of neurons and neuro-transmitters, proposing that huge circuits are the main entity to the brain-core processing...

Back to Top