Size and Memory Optimizations

Discussions debate the value of small optimizations for reducing memory usage, binary size, disk space, and bandwidth, weighing marginal savings against added complexity and overhead.

➡️ Stable 0.6x Programming Languages
2,482
Comments
20
Years Active
5
Top Authors
#3579
Topic ID

Activity Over Time

2007
1
2008
16
2009
31
2010
54
2011
53
2012
66
2013
95
2014
110
2015
106
2016
131
2017
158
2018
135
2019
155
2020
200
2021
221
2022
231
2023
226
2024
221
2025
244
2026
28

Keywords

RAM CPU OP ASCII VM memory bytes overhead saved storage wasting extra multiply footprint bits

Sample Comments

candiddevmike • Nov 3, 2022 • View on HN

You're talking about saving _at most_ 200MBish. That's a lot of work to maintain for little gain...

seanw444 • Nov 25, 2021 • View on HN

At least they're saving on memory, to be fair.

crdoconnor • Aug 11, 2016 • View on HN

That's a lot of extra character overhead for not very much gain.

dlan1000 • Aug 30, 2011 • View on HN

Sure the relative lost efficiency from that extra 20kb may be

bobblywobbles • Nov 24, 2018 • View on HN

The savings is marginal, but if you are able to set it up once and forget it, why not take advantage of a few % reduction in page size?

jstanley • Jul 27, 2017 • View on HN

The cost per byte would go down but the number of bytes would go up.

bobblywobbles • Nov 24, 2018 • View on HN

The savings is marginal, but why not configure your solution to save extra bytes then forget it is even there?

gcheong • Nov 11, 2009 • View on HN

Were they trying to save memory?

willis936 • May 27, 2022 • View on HN

Not much compute and memory to be saved. You can save on storage, but who cares about that?

loyukfai • Nov 30, 2022 • View on HN

Sounds like a lot of space wasted?