You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "B. W. Fitzpatrick" <fi...@red-bean.com> on 2001/11/30 15:39:17 UTC

Re: PUBLIC POLL: final static ACCESSOR

+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

Re: PUBLIC POLL: final static ACCESSOR

Posted by Julian Fitzell <ju...@beta4.com>.
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