Open GoogleCodeExporter opened 8 years ago
I believe, and correct me if I am wrong here, that the chances of this
happening are
so far fetched that the amount of work to mitigate this nullify the benefit of
going
through this work.
Also, with how impropable this situation is, is it worth affecting the
performance of
an otherwise performant object?
Original comment by chrisisbeef
on 2 Dec 2009 at 7:28
Original comment by chrisisbeef
on 2 Dec 2009 at 7:55
Well, I guess it depends on whether or not you want this thing to actually work
reliably.
These are unchecked insertions, so the probability of a collision is the # of
elements in the map / the keyspace of the map keys. Multiply this by the number
of
insertions to get roughly the probability of a collision on an update(). It's
small
problems like this that are extremely elusive and hard to track down.
In the report I stated how to fix it. It would take at most 10 minutes to
change and
test.
Original comment by cyounk...@gmail.com
on 2 Dec 2009 at 11:46
Younkins is right IMO. I'll fix this before 2.0.
Original comment by manico.james@gmail.com
on 1 Nov 2010 at 5:59
Original comment by manico.james@gmail.com
on 1 Nov 2010 at 6:01
Original comment by chrisisbeef
on 20 Nov 2010 at 9:16
Original comment by manico.james@gmail.com
on 29 May 2012 at 3:20
Original issue reported on code.google.com by
cyounk...@gmail.com
on 6 Aug 2009 at 7:33