Re: Any Checkstyle users?



On Tue, 31 Jan 2006 11:42:01 -0000, "Chris Uppal"
<chris.uppal@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote, quoted or indirectly
quoted someone who said :

>Except that that isn't true. The name should be something like
> private static final int INITIAL_ESTIMATE_OF_PROBABLE_MAX_GUESTS = 50;
>which is unwieldy in the extreme, but calling it MAX_GUESTS is actively wrong
>and so must be avoided.

How let us say the capacity factor is .75 and you set the size at
100. How big is the array inside 100 or 133? Not knowing that could
give you poor performance with the beasts.

IIRC, I have it documented but I don't recall the answer. See
http://mindprod.com/jgloss/hashmap.html
http://mindprod.com/jgloss/hashtable.html

These things need a fair bit of slop to work. Putting 100 guests in
100 slots is like asking a ballerina to perform in a telephone booth.

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • Re: Benazir Bhutto down
    ... Older Gentleman writes ... fucking pen and gas the lot. ... ....and you're calling *them* extreme? ...
    (uk.rec.motorcycles)
  • Re: New cedar deck has mildew - need advice
    ... >> I'd suggest calling in a mold remediation specialist and having the ... > That seems a bit extreme for mildew appearing on some decking. ... > small, which is why we're rebuilding, but there wasn't a hint of mould on ...
    (alt.home.repair)
  • Re: New cedar deck has mildew - need advice
    ... > I'd suggest calling in a mold remediation specialist and having the spores ... That seems a bit extreme for mildew appearing on some decking. ...
    (alt.home.repair)
  • Re: advised to defragg every day?
    ... once a day is overkill in all except extreme cases. ... suggest that you look at JKDefrag and then setup a TASK to run it as you ... Calling an illegal alien an "undocumented worker" is like calling a ...
    (microsoft.public.windowsxp.general)