Skip to content

Commit

Permalink
Fix unoptimized version of ZnRingBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrichau committed Dec 17, 2023
1 parent 029ed34 commit 52f1165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ accessing
at: anInteger
self checkBoundsFor: anInteger.

^ buffer atWrap: (anInteger + offset) \\ buffer size
^ buffer at: (anInteger + offset) \\ buffer size
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ at: anInteger put: anObject
self checkBoundsFor: anInteger.

buffer
atWrap: (anInteger + offset) \\ buffer size
at: (anInteger + offset) \\ buffer size
put: anObject

0 comments on commit 52f1165

Please sign in to comment.