Github user yu-iskw commented on the pull request:
https://github.com/apache/spark/pull/1964#issuecomment-53347789
Hi @erikerlandson,
Thank you for your comment.
I use breeze.numerics.abs instead of Math.abs.
I tried to check the performance of both again. That of breeze.vector.abs
is better than Math.abs.
https://gist.github.com/yu-iskw/aa56aad7481c4b45192c
Mean of 100 times(breeze.numerics.abs): 964.64
Mean of 100 times(breeze.Math.abs): 1029.46
And, let me clarify my understanding.
As commented previously, I can't compile my code, using abs(vector) in
breeze.numerics.
Does Breeze library have abs() method for a vector?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]