Changeset 31b2a69 in git


Ignore:
Timestamp:
Oct 12, 2016, 3:01:10 PM (8 years ago)
Author:
Andreas Steenpass <steenpass@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '4fa496c5b814dbde0a905c54f0796301d03f6dc9')
Children:
74dc544f60e1fb4461ed4301bd9f05ac85132898
Parents:
2f7f90e43ce2f08c92544f66d14f516b8c7ee550
git-author:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2016-10-12 15:01:10+02:00
git-committer:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2017-12-15 12:17:07+01:00
Message:
chg: call p_MemSum_LengthGeneral() only once in FindReducer()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/syz4.cc

    r2f7f90 r31b2a69  
    8787  const poly q = p_New(r);
    8888  pNext(q) = NULL;
    89   const unsigned long m_not_sev = ~p_GetShortExpVector(multiplier, t, r);
     89  p_MemSum_LengthGeneral(q->exp, multiplier->exp, t->exp, r->ExpL_Size);
     90  const unsigned long m_not_sev = ~p_GetShortExpVector(q, r);
    9091  for( ; m_current != m_finish; ++m_current) {
    91     if (m_current->sev & m_not_sev) {
    92         continue;
    93     }
    94     p_MemSum_LengthGeneral(q->exp, multiplier->exp, t->exp, r->ExpL_Size);
    95     if (unlikely(!(_p_LmDivisibleByNoComp(m_current->lt, q, r)))) {
     92    if (m_current->sev & m_not_sev
     93        || unlikely(!(_p_LmDivisibleByNoComp(m_current->lt, q, r)))) {
    9694        continue;
    9795    }
Note: See TracChangeset for help on using the changeset viewer.