Re: memory. and a lot of continual small object allocations and deallocations.
Re: memory. and a lot of continual small object allocations and deallocations.
- Subject: Re: memory. and a lot of continual small object allocations and deallocations.
- From: j o a r <email@hidden>
- Date: Sat, 19 Apr 2003 02:49:43 +0200
My advice: Don't spend time thinking about optimizations that you might
never need. Write your code, and _if_ it isn't fast enough, benchmark
it to find where your problems really are.
Choose your path:
1) Look at my fantastic app! This particular operation here is a bit
slow, but in general my app does everything I designed it to - cool!
2) Look at this piece of paper! If I turned these ideas and algorithms
into an application I think it would be mighty fast! If it works that
is, I don't know that yet.
In the end it's the projects that you finish / release that counts, not
the ones you only think about. Prototype!
j o a r
On Saturday, Apr 19, 2003, at 01:42 Europe/Stockholm, Ben Dougall wrote:
i have read that dynamic memory allocation and deallocation is a quite
an efficiency drain, and i foresee initiating and releasing a lot of
small objects, so i was just seeing a potential shortcut, to get some
reasonable savings without too much work, possibly.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.