I'd love to here everyone's opinion on the following, positive or
negative.

I'm looking for a faster way to append arrays. Up to this point I'm
creating a new array every time I need to append, giving it a length of
n+1 then copying the data from my previous array into the new one and
filling the last space with the new data.

What I'm doing is trying to develop a fluid flow analysis tool using
particles. What I need is a particle emitter which adds a particle to
the array of particles. Using the above method is way to slow and
computationally intensive.

It seems to me that Arrays in general (PointArray to be specific) don't
lend themselves at all to being appended, which limits their usefulness
for all kinds of applications. I think everyone would benefit greatly
from making this a core feature to the basic anyobject[] type array. I
realize that there are memory management problems inherent to this
concept, but that the people at SUN are smart enough to figure out how
to manage it.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to