Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
alphadose committed Jul 14, 2022
1 parent bfd195c commit fdf27ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Benchmarks to support the above claims [here](#benchmarks)
You need Golang [1.18.x](https://go.dev/dl/) or above since this package uses generics

```bash
$ go get github.com/alphadose/zenq@2.6.0
$ go get github.com/alphadose/zenq@v2.6.2
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion zenq.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type (

// ZenQ is the CPU cache optimized ringbuffer implementation
ZenQ[T any] struct {
// The padding members 1 to 8 below are here to ensure each item is on a separate cache line.
// The padding members 1 to 5 below are here to ensure each item is on a separate cache line.
// This prevents false sharing and hence improves performance.
writerIndex uint64
_p1 [cacheLinePadSize - unsafe.Sizeof(uint64(0))]byte
Expand Down

0 comments on commit fdf27ea

Please sign in to comment.