[elinks-dev] Memory allocation

Witold Filipczyk witekfl at poczta.onet.pl
Wed May 30 13:35:59 MDT 2007


On Wed, May 30, 2007 at 05:32:42PM +0200, Witold Filipczyk wrote:
> Hi!
> I have such an idea. I saw it in other program.
> Instead of check everywhere if mem_alloc, mem_calloc or mem_realloc
> succeed. Check it only in those functions.
> When there is no more memory say sorry and exit.
> All other checks could be removed.
> ELinks will be smaller, therefore faster.

I just saw that links works that way.
What was the reason to change that in the ELinks?

-- 
Witek


More information about the elinks-dev mailing list