swarm-support
[Top][All Lists]
Advanced

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

Re: accessing counter


From: Marcus G. Daniels
Subject: Re: accessing counter
Date: 26 Jun 1999 15:07:56 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3.10

>>>>> "PT" == Pietro Terna <address@hidden> writes:

PT>     I'm wondering if I can replace my 'count' variable with an
PT> internal Swarm variable.

You don't need to use an instance variable, if that's what you mean.
For example, you can write "int tempCounter = (count + 1) % modulus;"
as the first line of the method.

It won't be any faster, especially, but perhaps it will make the code
a bit more clear.

                  ==================================
   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]