I looked at profile info from a run of api2.spad and it seems that
there is some inefficiency in XHashTable.  Namely,
profile shows that 'localSearch' takes 20% of run time (that alone
is reasonable) and that 6% of run time is spent in
'positiveRemainder' (that is about 30% of 'localSearch' is due to
'positiveRemainder').  'positiveRemainder' is more expensive than
necessary, because it can handle Integer.  However, AFAICS
the numbers involved are nonnegative SingleInteger-s and
'rem' from SingleInteger should work fine.

-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/fricas-devel/Z2ICNowzEIPw77L7%40fricas.org.
  • [fricas-devel] XHashT... Waldek Hebisch

Reply via email to