|
![](/i/fill.gif) |
Orchid XP v8 wrote:
> You remember the days when programmers struggled to fit as much program
> as possible into 64 KB of RAM?
>
> I just realised something. The Haskell program I wrote the other day?
> It's 1.5 MB in size. This single executable program is actually *too
> big* to fit on a single [high-density] floppy disk.
>
> The worrying part is, it doesn't even *do* anything! It's just a wrapper
> around a seperate program...
>
Have you ever heard of premature optimization?
Don't bother solving a problem until it's a problem. Sure, modern
programs use WAY more resources than older ones... but is it even a problem?
Unless you're running out of memory on your computer, don't even try to
optimize it for size.
Let's face it: on a modern computer with, say, 3Gb of RAM, if you have a
program that's running out of memory, are you going to care about
a) The data structures using up 4Gb of RAM that you need to optimize, or
b) The default libraries linked in using .0015 Gb of RAM?
...Chambers
Post a reply to this message
|
![](/i/fill.gif) |