Skip to content

refactor: remove redundant map zero value initialization in throttleBy#815

Merged
samber merged 1 commit intosamber:masterfrom
d-enk:refactor-retry-throttle-by
Feb 24, 2026
Merged

refactor: remove redundant map zero value initialization in throttleBy#815
samber merged 1 commit intosamber:masterfrom
d-enk:refactor-retry-throttle-by

Conversation

@d-enk
Copy link
Contributor

@d-enk d-enk commented Feb 24, 2026

Remove unnecessary existence check and zero value assignment.
Go maps return zero value for missing keys, making this redundant.

Remove unnecessary existence check and zero value assignment.
Go maps return zero value for missing keys, making this redundant.
@samber samber merged commit ad62973 into samber:master Feb 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants