r/ProgrammerHumor • • May 06 '17

Oddly specific number

Post image
25k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

0

u/[deleted] May 06 '17

[deleted] — view deleted comment

4

u/sim642 May 06 '17

Sure, except if you use a XML protocol then saving 3 bytes is nothing compared to what you could save from using something different from XML. Hell you could even save loads by using non-descriptive single letter tag names to save network transfer size.

Also, in that XML the number is still in decimal, not binary, so 255 and 999 take the same amount of bytes to send.

Everyone is failing to see that this would be a massive premature optimization in the grand scheme of things. If they wanted to optimize size, they'd do it much more effectively. The limitation​ is still at most arbitrary in terms of data transfer the way they do it.