You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: use N << 10/20 style for readable byte-size constants (#2186)
* refactor: use N << 10/20 style for readable byte-size constants
Replace misleading `2 << N` bit shifts with `N << 10` (KiB) or
`N << 20` (MiB) style so the human-readable size is immediately
obvious. Keep `2 << 20` where it already reads naturally as 2 MiB.
No functional change — all values are identical.
* refactor: annotate constants with readable size equivalents
Co-authored-by: Jakub Novák <kubus.novak@gmail.com>
0 commit comments