hood."
CFMX documentation suggests the above.. i am not quite sure what is under
the hood.
Have you tried returning a Primitive Array from a Java Class? Yes the
documentation
says it casts the Primitive Array to Vector...However.. you cannot manipuate
the
the returned array. Try increasing the size of the array.
Joe Eugene
-----Original Message-----
From: Dave Carabetta [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 07, 2004 12:56 PM
To: CF-Talk
Subject: Re: Can the following be written in cfscript?
On Sat, 7 Aug 2004 10:59:25 -0400, Joe Eugene <[EMAIL PROTECTED]>
wrote:
> "and cfml list loop is even more efficient than array..."
>
> WOW!... There must be something really wrong with the CFMX
Implementation of
> Arrays.
> That is completely backwards to Java Implementation. Bruce Eckel's
(Thinking
> in Java)
> compares the Collection Classes and i believe mentions...
>
> There is No Collection to beat "Primitive Java Arrays" Performance.
>
> So what are we dealing with here? Coding backwards? Or We need Primitive
> Data Types in CFMX?
>
CF Arrays are actually java.util.Vector data structures underneath the
hood. Hence, you cannot make an apples to apples comparison with
regard to performance, etc.
Regards,
Dave.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

