10.07.2015 Views

Data Types & Type Checking - Ace

Data Types & Type Checking - Ace

Data Types & Type Checking - Ace

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Implementation of Arrays• Row Pointer layout:– rows can be put anywhere in memory.– rows can have different lengths => jagged arrays.– can create arrays from existing rows, without copying.– no multiplications to compute addresses => fast on CISC machines.• requires extra space for pointers.– used in Java and C:• C supports both contiguous and row pointer arrays.Lecture 0622

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!