Hi Sergey, On Sat, May 8, 2010 at 10:13 PM, Sergey Bochkanov <sergey.bochka...@alglib.net> wrote: > (3) - OOP overhead. Multiple precision ALGLIB makes use of OOP to > implement multiple precision expressions like "x=y+z". However, it > leads to excessive creation of temporaries, so I will replace OOP by > something less human-readable but more efficient. It is relatively > easy to do because I use automatic translation to generate MP ALGLIB, > so I just have to make slight changes in the translator.
Just FYI, you might want to look into C++ expression templates - they might allow you to retain the convenient notation with no overhead. This library has some nice examples of the convenience of expression templates: http://eigen.tuxfamily.org/index.php?title=Main_Page Cheers, Francesco. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org