swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speed Question...


From: Marcus G. Daniels
Subject: Re: Speed Question...
Date: 16 Nov 1999 21:47:48 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "DS" == Darren Schreiber <address@hidden> writes:

DS> I have been using atOffset to parse the optionsList.  I am
DS> planning on changing to use index instead.

DS> Which way should be faster?

If you have a List and you want to step through it, it is faster to
use an index because to get to the nth item involves traveling through
the n - 1 previous items.  But if you have an Array (either Swarm or C),
it doesn't matter which one you use.

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]