Skip to content

Commit

Permalink
Update bigcache.go
Browse files Browse the repository at this point in the history
  • Loading branch information
janisz authored Nov 20, 2023
1 parent 875538d commit f51874f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (c *BigCache) Set(key string, entry []byte) error {

// Append appends entry under the key if key exists, otherwise
// it will set the key (same behaviour as Set()). With Append() you can
// concatenate multiple entries under the same key in a lock optimized way.
// concatenate multiple entries under the same key in a lock-optimized way.
func (c *BigCache) Append(key string, entry []byte) error {
hashedKey := c.hash.Sum64(key)
shard := c.getShard(hashedKey)
Expand Down

0 comments on commit f51874f

Please sign in to comment.