Changeset cd429e in git


Ignore:
Timestamp:
Mar 13, 2013, 8:29:49 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5a0dde71de01068fad5736a17555c993ecbbf495')
Children:
d8a7daee3419d587cfa035cbf6890deb131d9e5f
Parents:
20203120e3f743bc2648a192a556dec455772b76
git-author:
Martin Lee <martinlee84@web.de>2013-03-13 20:29:49+01:00
git-committer:
Martin Lee <martinlee84@web.de>2013-03-22 15:52:24+01:00
Message:
chg: speed up modular multiplication
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facMul.cc

    r202031 rcd429e  
    21512151  int fallBackToNaive= 50;
    21522152  if (sizeF < fallBackToNaive || sizeG < fallBackToNaive)
    2153     return mod (F*G, M);
     2153  {
     2154    if (sizeF < sizeG)
     2155      return mod (G*F, M);
     2156    else
     2157      return mod (F*G, M);
     2158  }
    21542159
    21552160#ifdef HAVE_FLINT
Note: See TracChangeset for help on using the changeset viewer.