<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
This approach seems fine, depending on how useful it is for
improving timing.<br>
<br>
Remember that this hashtable needs a lock for lookup and
modification. This appears to be the case with the existing code.<br>
<br>
Coleen<br>
<br>
<div class="moz-cite-prefix">On 4/12/23 9:02 AM, Guoxiong Li wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAPSsVqhe00nvZwXkfa6Awu-tB+bjWgxRd9HneSXv504G8vg-9w@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">On Tue, Apr 11, 2023 at 5:00 PM Andrew Haley <<a href="mailto:aph-open@littlepinkcloud.com" moz-do-not-send="true" class="moz-txt-link-freetext">aph-open@littlepinkcloud.com</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
I would measure the time taken for the operations of
insertion and lookup<br>
over a realistic range.<br>
</blockquote>
<div><br>
</div>
<div>Thanks for the test.</div>
<div><br>
</div>
<div>The draft patch [1] may be useful to you.</div>
<div><br>
</div>
<div>[1] <a href="https://github.com/lgxbslgx/jdk/tree/SIGNATURE_HANDLERS" moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/lgxbslgx/jdk/tree/SIGNATURE_HANDLERS</a><br>
</div>
<div><br>
</div>
<div>Best Regards,</div>
<div>-- Guoxiong</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>