<div dir="ltr">It is really late here so I will try that tomorrow.<div><br></div><div>Note that usage of the everything segment requires --enable-native-access, which in general gives an unsafe notice anyway.</div><div><br></div><div>Regards,</div><div>Quan Anh</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 13 Jan 2024 at 01:29, Maurizio Cimadamore <<a href="mailto:maurizio.cimadamore@oracle.com">maurizio.cimadamore@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 12/01/2024 17:26, Quân Anh Mai wrote:<br>
> FYI, in my submission to 1brc, using Unsafe decreases the execution <br>
> time from 3.25s to 2.57s on the test machine.<br>
<br>
Just curious - what is the difference compared with the everything <br>
segment trick?<br>
<br>
(While I know it can't do on-heap access, perhaps you can tweak the code <br>
to be all off-heap?)<br>
<br>
Maurizio<br>
<br>
</blockquote></div>