Thanks for your reply Nikolay,
I am not sure why you would want the hash to be more 'specific' by
About md5: having a longer hash seems to me to be an inconvenient rather
OTOH speed is indeed important, but remember hashcode is a native method
On 02/18/2012 03:59 PM, Nikolay Elenkov wrote:
> On Sat, Feb 18, 2012 at 11:40 PM, BoD<bodlu...@gmail.com> wrote:
>> Here is the patch.
> You are only using the method names, and that's stripping a lot of info.
> You might want to add at least the class name too, and maybe the file
> name. To get an unique identifier, a real hash function (e.g., SHA-1)
> might be more appropriate. That would give you a 20-byte ID, as
> opposed to the int's 4. It might actually be more efficient for large
> stack traces too: String.hashCode() loops over all characters and
> basically adds them together, and that might take some time for
> a large string.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.