Github user WeichenXu123 commented on the issue:

    https://github.com/apache/spark/pull/14898
  
    @srowen
    but here, `delta -= target` breeze lib will call BLAS and it will usually 
be 10x faster than normal loop because it use SIMD instructions. Here is some 
performance information https://github.com/fommil/netlib-java
    
    and , `delta := output` it is also much faster than normal loop, because in 
breeze, it call `System.arraycopy`
    
http://stackoverflow.com/questions/18638743/is-it-better-to-use-system-arraycopy-than-a-for-loop-for-copying-arrays
    
    thanks!


---
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]

Reply via email to