The Casteels wrote:
>
> 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.
IMHO, you should look for a better data structure than an array...maybe
a linked list, or a stack/queue, etc. There are some books out there
that describe the implementation of common data structures in Java, and
there are lots of resources on java.sun.com.
===========================================================================
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".