Skip to content

Commit

Permalink
opt: p_Mult_q heuristic
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes14 committed May 2, 2024
1 parent 5f3d143 commit c5facdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libpolys/polys/operations/p_Mult_q.cc
Expand Up @@ -304,7 +304,7 @@ poly _p_Mult_q_Normal(poly p, poly q, const int copy, const ring r)
#define MIN_LENGTH_FACTORY 300
#define MIN_FLINT_QQ 80
#define MIN_FLINT_Zp 85
#define MIN_FLINT_Z 50
#define MIN_FLINT_Z 100

/// Returns: p * q,
/// Destroys: if !copy then p, q
Expand Down
2 changes: 1 addition & 1 deletion libpolys/polys/operations/p_Mult_q.h
Expand Up @@ -18,7 +18,7 @@
// Use buckets if min(pLength(p), pLength(q)) >= MIN_LENGTH_BUCKET
// Not thoroughly tested what is best
#ifndef MIN_LENGTH_BUCKET
#define MIN_LENGTH_BUCKET 25
#define MIN_LENGTH_BUCKET 30
#endif

/// return TRUE and lp == pLength(p), lq == pLength(q),
Expand Down

0 comments on commit c5facdf

Please sign in to comment.