2 megabytes is sufficient for testing purposes.
This commit is contained in:
		| @@ -29,7 +29,7 @@ public class NativeZlibTest | |||||||
|         System.out.println( "Testing: " + zlib ); |         System.out.println( "Testing: " + zlib ); | ||||||
|         long start = System.currentTimeMillis(); |         long start = System.currentTimeMillis(); | ||||||
|  |  | ||||||
|         byte[] dataBuf = new byte[ 1 << 25 ]; // 32 megabytes |         byte[] dataBuf = new byte[ 1 << 22 ]; // 2 megabytes | ||||||
|         new Random().nextBytes( dataBuf ); |         new Random().nextBytes( dataBuf ); | ||||||
|  |  | ||||||
|         zlib.init( true, 9 ); |         zlib.init( true, 9 ); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 md_5
					md_5