File:Dynamic array.svg

Original file(SVG file, nominally 289 × 341 pixels, file size: 43 KB)

Summary

Description
English: Demonstrating a series of insertions into a dynamic array data structure, implemented using simple geometric expansion. Black squares indicate entries in the underlying array that are in use to hold dynamic array data, and grey dotted squares indicate entries in the underlying array that are reserved for future expansion. Most insertions are fast, while slow insertions (those which may need to reallocate memory and/or copy the entire array contents) are labelled with turtles. The logical size and capacity of the dynamic array after all insertions are complete is labelled. Turtle images based on public domain file File:Turtle-icon.svg.
Date
Source Own work
Author Dcoetzee

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

19 June 2011

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:51, 19 June 2011Thumbnail for version as of 13:51, 19 June 2011289 × 341 (43 KB)Dcoetzee
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file: