<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 05/01/2017 02:24 AM, Andrei Chis
wrote:<br>
</div>
<blockquote
cite="mid:CACcefr2M7sYt1569uY1j2h65dZPzPF+YoiZoYKg4a2-Ewcg5VA@mail.gmail.com"
type="cite">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">performance,
by orders of magnitude. For instance, early versions of<br>
Java used a limited number of characters to hash strings. One of
the<br>
biggest compatibility-breaking changes they were forced to make
in later<br>
Java versions was to consider *all* characters in hashing. It
turned out<br>
that it was very common to hash URLs, and many distinct URLs had
most of<br>
their characters in common.<br>
</blockquote>
<div><br>
</div>
<div>Was curious about this and found the actual issues [1] if
anybody else is interested.</div>
<div><br>
</div>
<div>[1] <a moz-do-not-send="true"
href="http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4045622">http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4045622</a><br>
</div>
<div><br>
</div>
</blockquote>
<p>Thanks for digging this up, Andrei! I was working from memory,
and had forgotten some of the details. Yeah, they had to change
the language spec, which was a Big Deal at the time. (and Josh
Bloch and Guy Steele, no less!)</p>
<p>Regards,</p>
<p>-Martin<br>
</p>
</body>
</html>