On Tue, 13 May 2025 16:49:36 GMT, Ben Perez wrote:
>> It turns out that initializing a multidimensional array with `int[][] a =
>> new int[rows][cols]` is slower than allocating each column in a loop. Since
>> we do a lot of large multidimensional array allocations in ML-DSA, the
>> optimized
> It turns out that initializing a multidimensional array with `int[][] a = new
> int[rows][cols]` is slower than allocating each column in a loop. Since we do
> a lot of large multidimensional array allocations in ML-DSA, the optimized
> initialization improves performance by roughly 10%.
Ben
> It turns out that initializing a multidimensional array with `int[][] a = new
> int[rows][cols]` is slower than allocating each column in a loop. Since we do
> a lot of large multidimensional array allocations in ML-DSA, the optimized
> initialization improves performance by roughly 10%.
Ben
On Fri, 14 Feb 2025 16:43:32 GMT, Ben Perez wrote:
> It turns out that initializing a multidimensional array with `int[][] a = new
> int[rows][cols]` is slower than allocating each column in a loop. Since we do
> a lot of large multidimensional array allocations in ML-DSA, the optimized
> init
On Sun, 16 Feb 2025 15:41:52 GMT, Chen Liang wrote:
>> src/java.base/share/classes/sun/security/provider/ML_DSA.java line 1237:
>>
>>> 1235: return res;
>>> 1236: }
>>> 1237:
>>
>> Centralizing the allocation into a helper on its own Looks unseful (for
>> resource Management, debu
On Fri, 14 Feb 2025 16:43:32 GMT, Ben Perez wrote:
> It turns out that initializing a multidimensional array with `int[][] a = new
> int[rows][cols]` is slower than allocating each column in a loop. Since we do
> a lot of large multidimensional array allocations in ML-DSA, the optimized
> init
On Fri, 14 Feb 2025 16:43:32 GMT, Ben Perez wrote:
> It turns out that initializing a multidimensional array with `int[][] a = new
> int[rows][cols]` is slower than allocating each column in a loop. Since we do
> a lot of large multidimensional array allocations in ML-DSA, the optimized
> init
On Fri, 14 Feb 2025 17:11:16 GMT, Bernd wrote:
>> It turns out that initializing a multidimensional array with `int[][] a =
>> new int[rows][cols]` is slower than allocating each column in a loop. Since
>> we do a lot of large multidimensional array allocations in ML-DSA, the
>> optimized init
On Fri, 14 Feb 2025 16:43:32 GMT, Ben Perez wrote:
> It turns out that initializing a multidimensional array with `int[][] a = new
> int[rows][cols]` is slower than allocating each column in a loop. Since we do
> a lot of large multidimensional array allocations in ML-DSA, the optimized
> init
It turns out that initializing a multidimensional array with `int[][] a = new
int[rows][cols]` is slower than allocating each column in a loop. Since we do a
lot of large multidimensional array allocations in ML-DSA, the optimized
initialization improves performance by roughly 10%.
10 matches
Mail list logo