Skip to content

Commit

Permalink
mask_asm: Disable AVX2
Browse files Browse the repository at this point in the history
  • Loading branch information
nhooyr committed Feb 22, 2024
1 parent 92acb74 commit 17e1b86
Show file tree
Hide file tree
Showing 56 changed files with 6 additions and 2,251 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -120,7 +120,7 @@ Advantages of nhooyr.io/websocket:
- Gorilla requires registering a pong callback before sending a Ping
- Can target Wasm ([gorilla/websocket#432](https://github.com/gorilla/websocket/issues/432))
- Transparent message buffer reuse with [wsjson](https://pkg.go.dev/nhooyr.io/websocket/wsjson) subpackage
- [4x](https://github.com/nhooyr/websocket/pull/326) faster WebSocket masking implementation in assembly for amd64 and arm64 and [2x](https://github.com/nhooyr/websocket/releases/tag/v1.7.4) faster implementation in pure Go
- [3-4x](https://github.com/nhooyr/websocket/pull/326) faster WebSocket masking implementation in assembly for amd64 and arm64 and [2x](https://github.com/nhooyr/websocket/releases/tag/v1.7.4) faster implementation in pure Go
- Gorilla's implementation is slower and uses [unsafe](https://golang.org/pkg/unsafe/).
- Full [permessage-deflate](https://tools.ietf.org/html/rfc7692) compression extension support
- Gorilla only supports no context takeover mode
Expand Down
10 changes: 0 additions & 10 deletions internal/xcpu/.gitattributes

This file was deleted.

2 changes: 0 additions & 2 deletions internal/xcpu/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions internal/xcpu/README.md

This file was deleted.

17 changes: 0 additions & 17 deletions internal/xcpu/asm_aix_ppc64.s

This file was deleted.

66 changes: 0 additions & 66 deletions internal/xcpu/byteorder.go

This file was deleted.

0 comments on commit 17e1b86

Please sign in to comment.