Re: Memory allocation
Witold Filipczyk <[email protected]>
| Newsgroups | gmane.comp.web.links |
|---|---|
| Message-ID | <20070530193559.GA17233@pldmachine> |
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