Boost logo

Boost :

From: Janek Kozicki (janek_listy_at_[hidden])
Date: 2006-07-20 04:42:45


David Manura said: (by the date of Thu, 20 Jul 2006 00:08:32 -0400)

> Now, I was getting order-of-magnitude lower run times with direct C
> coding of trim_left, so I made some minor changes to the Boost source
> in hope of improving this (below diff.txt).

<snip>

> - PredicateT IsSpace )
> + const PredicateT & IsSpace )

wow. It's a good programming practice to use const& everywhere where
possible. T'd love to see this patch applied. Thanks!

-- 
Janek Kozicki                                                         |

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