Use assembly for WebSocket frame masking
nhooyr opened this issue · 4 comments
nhooyr commented
Will be a fun exercise for me.
nhooyr commented
This is definitely excessive. Don't want to spend my time here or maintain this.
wdvxdr1123 commented
Hello, @nhooyr !
I have implemented simd masking with avx2&sse for amd64 and neon for arm64 which results in 4x performance improvement in amd64 and 2x erformance improvement in arm64. I can mail a PR if you're interested.
nhooyr commented
@wdvxdr1123 Please open a PR or feel free to mail me the commits. I'd be very interested! Though I can't promise I'll get to merging it soon.
nhooyr commented
Will get this in at some point after extensive automated testing against the safe version. #326
Thanks again @wdvxdr1123