Skip to content

Commit

Permalink
fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
maciuszek committed Jan 16, 2025
1 parent bf0ef63 commit 8dad5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
DefaultUseReservoirTimer = false
// FixedTimerReservoirSize is the max capacity of the reservoir for reservoir timers.
// note: needs to be rounded to a power of two e.g. 1 << bits.Len(uint(100)) = 128
// todo: see if it's worth efficency trade off to reduce tech debt of this magic number and allowing any number.
// todo: see if it's worth an efficiency trade off to reduce tech debt of this magic number and allowing any number.
// we could determine the difference between the defined size and next power of two
// and use that to offset the counter when ANDing it against the mask,
// once the result is 0 we just increment offset by "original offset"
Expand Down

0 comments on commit 8dad5ed

Please sign in to comment.