Hi,
I'm a lurker on this list. I was just wondering some things:
i) Is there is ANY performance difference on a modern Java VM? Hotspot
should inline accessor functions when it does the compile to native code.
ii) Even if there is a performance difference, is it likely to be
significant?
later,
\x/ill :-}
--On Friday, 30 November 2001 4:29 PM +0100 Alexander Mueller
<alex@littleblue.de> wrote:
> 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
Received on Sat Oct 21 14:36:50 2006