[Mono-list] Can this linq be optimised?

Paul Johnson paul at all-the-johnsons.co.uk
Thu Jun 6 09:38:12 UTC 2013


Hi,

> Another thing you might want to try is to check if the string actually
> needs modification instead of always creating substrings and then
> concatenating them, even if the result would be identical to the input.

This would be an interesting way to do it - the problem is that there 
may be spaces before the braces so I'd need to start the check from the 
braces...

Paul

-- 
"Space," it says, "is big. Really big. You just won't believe how 
vastly, hugely, mindbogglingly big it is. I mean, you may think it's a 
long way down the road to the chemist's, but that's just peanuts to 
space, listen..."
Hitch Hikers Guide to the Galaxy, a truly remarkable book!



More information about the Mono-list mailing list