[ECOS] stdio vs. diag_printf
Grant Edwards
grante@visi.com
Wed Jul 12 19:55:00 GMT 2000
On Thu, Jul 13, 2000 at 12:36:54AM +0100, Jonathan Larmour wrote:
> > IOW, does diag_printf require the stdio package? If not, I
> > think this would, in turn, allow me to get rid of malloc() and
> > its associated heap and posssibly some other stuff.
>
> Out of interest, there is configury inside the libc package to remove the
> overhead of using malloc, and other bloating things like floating-point
> support in printf.
I had found the floating point stuff and disabled that. IIRC it was
somewhere between 10 and 20KB.
> In saying that, diag_printf will still always be much smaller as it doesn't
> have to support the zillion other things that printf has to as part of the
> standards baggage.
I had presumed so -- I also don't really want the buffering that goes along
with the stdio package.
--
Grant Edwards
grante@visi.com
More information about the Ecos-discuss
mailing list