Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
PMVector sum is extremely slow #125
Here is the comparison with array:
a := ((1 to: 5000) collect: [ :i | i ]) asPMVector. a sum. "Best of 10 runs: 568ms" b := ((1 to: 25000000) collect: [ :i | i ]). b sum. "Worst of 10 runs: 551ms"
This means that
Possible fix: Don't override