Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2002-08-30 11:12:56


Rob Stewart wrote:
>
> Given that your demangling logic will be invoked in almost every
> use case strictly for error reporting, performance is not an
> issue. Therefore, any performance concern wrt copying strings is
> moot.

It's not just about performance. Errors may occur when the system is
short of memory, thus you should try be avoid memory allocations
whenever possible (OK, string will most likely not be a real problem,
put you never know...).

Regards, Daniel

--
Daniel Frey
aixigo AG - financial training, research and technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
eMail: daniel.frey_at_[hidden], web: http://www.aixigo.de

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk