Alex Gaynor

Results 912 comments of Alex Gaynor

This issue is not that nesting doesn't work, it's that there'd be a performance cost. On Sat, Apr 6, 2024 at 1:35 PM Lukas Bergdoll ***@***.***> wrote: > Can you...

Sure, take the following use case: ``` type V; type S

Yes, unfortunately I need to keep the original alive, so for my use case it doesn't work for map to take `O1` by value.

In my use cases, `O1` is somewhere else on the heap, with other references to it, so it's not possible to move it.

Hmm, I'm not sure I understand the first problem, can you explain a bit more? For the second (`unsafe` trait required), yes I think this is a challenge. Either you...

Ah yes, I think you need to only pass the `map()` callback the result of `deref()`, you can't give it a ref to the owner itself. On Sun, Apr 14,...

If there's a straightforward script for it (and you promise it won't destroy my computer :D), I'm happy to do a run on my ARM64 laptop.

I was thinking maybe I'd just do the first 500 or 1k or something :-) But if your setup already works for it, that sounds good!

https://github.com/ogxd/gxhash is what I was playing with when I originally ran into this. https://github.com/RustCrypto/block-ciphers/tree/master/aes uses the same instruction, but goes via inline assembly instead of the intrinsic, for whatever reason.

In any event, thanks for running these numbers! I'm using an Apple M1, which will have a set of baseline capabilities that I'm not sure is guaranteed for all aarch64...