Skip to main content
Log in

A storage scheme for extendible arrays

Ein Speicherschema für erweiterbare Felder

  • Published:
Computing Aims and scope Submit manuscript

Abstract

Conventional methods of storing aK-dimensional array allow easy extension only along one dimension. We present a technique of allocating a linear sequence of contiguous storage locations for aK-dimensional extendible array by adjoining blocks of (K−1)-dimensional subarrays. Element access is by determination of the block header location and then the displacement within the block. For cubical and all practical cases of rectangular arrays considered, the storage requirement isO (N) whereN is the array size. The element access cost isO (K) for the 2-step computed access function used.

Zusammenfassung

Konventionelle Methoden der SpeicherungK-dimensionaler Felder lassen eine einfache Erweiterung lediglich entlang einer Dimension zu. Wir beschreiben eine Technik der Zuweisung einer linearen Folge von zusammenhängenden Speicherzellen fürK-dimensional erweiterbare Felder durch Hinzufügen von Blöcken aus (K−1)-dimensionierten Teilfeldern. Der Elementzugriff erfolgt durch Bestimmung des Headers und des Displacements innerhalb des Blockes. Für kubische und alle praktische Fälle rechteckiger Felder ist der SpeicherbedarfO (N) wobeiN die Feldgröße ist. Die Kosten eines Elementzugriffs betragenO (K) für die in zwei Schritten berechnete Zugriffsfunktion.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Gotlieb, C. C., Gotlieb, L. R.: Data types and structures. Englewood Cliffs, N. J.: Prentice-Hall 1978.

    Google Scholar 

  2. Knuth, D. E.: The art of computer programming, Vol. 1: Fundamental algorithm. Reading, Mass: Addison-Wesley 1968.

    Google Scholar 

  3. Merrett T. H.: Multidimensional paging for efficient database, querying. Proc. ICMOD 1978, FAST, Milano, Italy, pp. 277–290.

  4. Otoo, E. J., Merrett T. H.: Dynamic multipaging: a multiattribute, structure for fast associative searching. McGill Univ. Tech. Report SOCS-81-39.

  5. Rosenberg, A. L.: Allocating storage for extendible arrays. JACM21, 652–670 (1974).

    Google Scholar 

  6. Rosenberg, A. L.: Managing storage for extendible arrays. SIAM J. Comp.4, 287–305 (1975).

    Google Scholar 

  7. Rosenberg, A. L., Stockmeyer, L. J.: Storage schemes for boundedly extendible arrays. Act. Inform.7, 289–303 (1977).

    Google Scholar 

  8. Rosenberg, A. L., Stockmeyer, L. J.: Hashing schemes for extendible arrays. JACM24, 199–221 (1977).

    Google Scholar 

  9. Standish, T. A.: Data structure techniques. Reading, Mass.: Addison-Wesley 1980.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Otoo, E.J., Merrett, T.H. A storage scheme for extendible arrays. Computing 31, 1–9 (1983). https://doi.org/10.1007/BF02247933

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02247933

AMS Subject Classifications

Key words and phrases

Navigation