Post #1311016
2026-04-09 13:37 UTC
@hughsie 1024*1024 is the same length any constant would likely be and not really any less clear imo
Replies (1)
-
@cate@mastodon.xyz 2026-04-09 15:24
@leo @hughsie and compilers should optimise it anyway. So way better to have a multiplication compared to a shift (binary code would be probably the same, but the intention is shown differently so warnings and other optimisations may become relevant).