[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: PUBLIC POLL: final static ACCESSOR

From: Julian Fitzell <julian_at_beta4.com>
Date: 2001-11-30 19:42:33 CET

Gotta go with accessors unless someone can show me a pretty
*significant* preformance hit.

+1 Accessor

Julian

B. W. Fitzpatrick wrote:

> +1 Accessor :)
>
> -Fitz
>
>
>>Hi! It's poll time!
>>
>>There are some classes in the Java / Subversion binding that use public variables.
>>They are NOT variables with common read/write access. They are initialized through
>>the class constructor. After this they remain constant for the rest of the instance lifetime.
>>Example in class Entry:
>>"public final Date text_time;"
>>
>>The reason for this kind of implementation is a performance improvement.
>>
>>The alternative would be to have accessor methods.
>>
>>Now its up to you.
>>
>>If you want it implemented as it is reply to this email and append "VARIABLE" to the subject of the message.
>>If you want to have it changed to accessor methods, reply to this email and append "ACCESSOR" to the subject of the message.
>>
>>On next Thursday I will count the emails.
>>
>>Thanks for your participation...
>>Have a nice weekend
>>
>>Alex
>>
>>P.S.: one vote per person, please... ;-)
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>>For additional commands, e-mail: dev-help@subversion.tigris.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:50 2006

This is an archived mail posted to the Subversion Dev mailing list.