classpath
[Top][All Lists]
Advanced

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

Re: [PATCH] Field position attribute handling


From: Dalibor Topic
Subject: Re: [PATCH] Field position attribute handling
Date: Wed, 19 Nov 2003 11:38:57 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Jeroen Frijters wrote:
Dalibor Topic wrote:

7 is the largest prime, that's still an iconst, iconst_7, afaik. That makes it take less bytecode.


Actually, iconst_5 is the maximum, but this seems like a little too low
level view of the problem space ;-)

Thanks, I'll make it 5, then ;)

If two objects are not equal, they should have different hashCodes.


No this isn't true, however, if two objects are equal, they must have
identical hashCodes. It would be nice if unequal objects had different
hashCodes, but this is not a requirement.

Note that I used *should* in my sentence instead of *must*, and reparse what I said ;)

cheers,
dalibor topic





reply via email to

[Prev in Thread] Current Thread [Next in Thread]