April 19, 2004
Is an array a class?


April 19, 2004
Colin JN Breame schrieb:

> Is an array a class?

No, for efficiency reasons. Array is a slice into memory, and is rather like a struct consisting of start pointer and length. It behaves very efficiently with most algorithms and offers a robust interface.

Please, read the language reference.

-eye