On Wednesday 12 December 2007, William Stein wrote: > On Dec 12, 2007 8:47 AM, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > > On Wed, Dec 12, 2007 at 10:12:07AM -0600, Daniel R. Grayson wrote: > > > The Macaulay2 code for factorization just calls the Singular-Factory > > > library that we link against. So I don't know why it should be faster > > > than Singular! > > > > I did wonder about that. However, my testing indicates that M2 > > consistently takes about 1.5 seconds for this factorization, but singular > > takes much longer (and the time isn't consistent at all). I'd love to > > know if I'm just being tremendously stupid and missing something -- so it > > might be good if somebody else wants to confirm or deny my timings for > > the example at > > http://sage.math.washington.edu/home/jbmohler/singular/factorize01.singul > >ar > > > > How do you link against singular? I thought the singular library mode > > was new in the last 6 months and that M2 was around longer than that?
They are linking against two components of singular (libfac and libcf) what we shared libraries before. We used to link against those too but they only provide factorization and stuff. My first guess for the different timings: M2 uses an older version of libcf/libfac so maybe the last optimizations for us broke something? Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _www: http://www.informatik.uni-bremen.de/~malb _jab: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---