Reusing immutable objects

When a request is made to create a new immutable object a check is carried out of existing objects to determine if there is a matching object which already exists. If an identical object does exist then a pointer to that object is returned instead of generating a new object thereby saving memory. In...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: LARRY WAYNE LOEN
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:When a request is made to create a new immutable object a check is carried out of existing objects to determine if there is a matching object which already exists. If an identical object does exist then a pointer to that object is returned instead of generating a new object thereby saving memory. In the case of accessing a set of records in a database (72, 74, 76 figure 4) immutable objects are created as required (108-118 figure 5) the number of which is reduced due to the reuse of objects (110 and 112 figure 5).