Something is fishy:
function test()
X = rand(300, Int(40e3));
Y = rand(Int(40e3), 300);
Y * X
end
@btime test()
reports
6.625 s (6 allocations: 12.10 GiB)
Something is fishy:
function test()
X = rand(300, Int(40e3));
Y = rand(Int(40e3), 300);
Y * X
end
@btime test()
reports
6.625 s (6 allocations: 12.10 GiB)