mschlund / FPsolve

FPsolve: solver for polynomial equations over omega-continuous semirings
BSD 2-Clause "Simplified" License
11 stars 5 forks source link

Less allocation of SparseVec #24

Closed michalt closed 11 years ago

michalt commented 11 years ago

This implements a pool of allocated vectors that we can reuse. In my benchmarks it reduces the runtime by a factor of around 3. :-)