Changeset 8b09ef in git


Ignore:
Timestamp:
Apr 10, 2009, 9:03:44 PM (15 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
88e5d02561990a0b8b126978b31a19f6dcb68b1c
Parents:
cf218e8a0bf01e9ba135d3f3ef047a395d6db144
Message:
*motsak: testing possible speedup in syz/nres due to 3-0-3


git-svn-id: file:///usr/local/Singular/svn/trunk@11678 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/syz.cc

    rcf218e8 r8b09ef  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: syz.cc,v 1.19 2009-03-02 18:06:54 motsak Exp $ */
     4/* $Id: syz.cc,v 1.20 2009-04-10 19:03:44 motsak Exp $ */
    55
    66/*
     
    616616syStrategy syResolution(ideal arg, int maxlength,intvec * w, BOOLEAN minim)
    617617{
     618#define QSyzTest 0
     619
    618620#ifdef HAVE_PLURAL
    619 //  ideal idSaveCurrQuotient = currQuotient;
    620 //  ideal idSaveCurrRingQuotient = currRing->qideal;
     621
     622#if QSyzTest
     623  ideal idSaveCurrQuotient = currQuotient;
     624  ideal idSaveCurrRingQuotient = currRing->qideal;
     625#endif
     626
    621627  if( rIsSCA(currRing) )
    622628  {
     
    626632//    rDebugPrint(currRing);
    627633#endif
    628 //    currQuotient = SCAQuotient(currRing);
    629 //    currRing->qideal = currQuotient;
     634
     635#if QSyzTest
     636    currQuotient = SCAQuotient(currRing);
     637    currRing->qideal = currQuotient;
     638#endif
    630639
    631640    const unsigned int m_iFirstAltVar = scaFirstAltVar(currRing);
     
    675684  if( rIsSCA(currRing) )
    676685  {
    677 //    currQuotient     = idSaveCurrQuotient;
    678 //    currRing->qideal = idSaveCurrRingQuotient;
     686
     687#if QSyzTest
     688    currQuotient     = idSaveCurrQuotient;
     689    currRing->qideal = idSaveCurrRingQuotient;
     690#endif
    679691
    680692    id_Delete(&arg, currRing);
Note: See TracChangeset for help on using the changeset viewer.