Re: Vector data type (2nd attempt)

Giganews Newsgroups
Subject: Re: Vector data type (2nd attempt)
Posted by:  Matt Kruse (newsgrou…
Date: Wed, 13 Sep 2006

VK wrote:
> I really need an effective
> Vector emulator for a project

I assume you are trying to emulate Java's Vector.
Seeing as how a Vector is synchronized, and javascript is not
multi-threaded, why would you event want to emulate a Vector?
(hint: you don't)

All you really want is an interface to the Array object that you find more
familiar. This wasn't obvious to you, seeing as how you're just messing
around with an internally-held Array?

Matt Kruse


In response to

Vector data type (2nd attempt) posted by VK on 13 Sep 2006