On Jan 26, 2008 4:38 PM, Avish <
some.avish@...> wrote:
Also, that reflected code made me realize we really need to typfiy our
tuples
+1
and perhaps use string.Format() instead of newing up a
StringBuilder on each string interpolation :)
No, SB-based interpolation is ~+20% faster on both Mono and
MS.NET than string.Format with about the same memory usage (or at most ~+5% for SB).
However it would be nice to optimize further in-loop interpolations by instantiating the sb object out of the loop and then resetting it at each cycle (then we'd have again ~+8% perf and the memory usage same-same between SF and SB) :p
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Boo Programming Language" group.
To post to this group, send email to
boolang@... To unsubscribe from this group, send email to
boolang-unsubscribe@... For more options, visit this group at http://groups.google.com/group/boolang
-~----------~----~----~----~------~----~------~--~---