<div dir="ltr"><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, 4 Mar 2025 at 11:21, Paul Backus via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.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">On Monday, 3 March 2025 at 18:57:05 UTC, Per Nordlöw wrote:<br>
> On Monday, 3 March 2025 at 15:12:20 UTC, Paul Backus wrote:<br>
>> I think a good first step would be to try replacing the <br>
>> current implementation(s) of `emplace` with calls to placement <br>
>> new.<br>
><br>
> Do you mean doing this before replacing the top-level calls top <br>
> `emplace`?<br>
<br>
Yes.<br>
</blockquote><div><br></div><div>Yes, this.</div><div>I've tried this already, and it reveals several implementation edge cases, which will need to be bugged and resolved.</div><div>My plan was to try and replace the function internals with placement new for as many cases as are working properly, and the code itself will act as a document detailing which cases are outstanding and need resolution.</div><div>Please do contribute to this effort if you're enthusiastic! I have very little free time rn.</div></div></div>