Hi, Changed Array[Byte] to Rail[Byte], I can see performance boost, but Java is still 2x faster File: 21M X10: 25 seconds Java: 17 seconds There are places I do this: val tmp:Rail[Rail[Byte]]= new Array[Array[Byte](1){rect,zeroBased,rail}](0..(Nb*(Nr+1)-1)); for(var i:int=0; i<tmp.size; i++){ tmp(i) = new Array[Byte](0..3); } wonder if this will hit performance, I tried Array constructor new Array[Rail[Byte]](0..(Nb*(Nr+1)-1), i:Point(1)=>new Array[Byte](0..3)); and other variations, but not successful. Any suggestion for more performance? Thanks |
AES.x10
Description: Binary data
On Nov 2, 2011, at 6:34 PM, David P Grove wrote:
|
------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users