Skip to content

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Oct 27, 2022

This reduces allocations, but doesn't really impact performance.

julia> A = ones(1000, 1000);

julia> @btime nullspace($A);
  375.469 ms (15 allocations: 61.14 MiB) # master
  374.243 ms (13 allocations: 53.52 MiB) # PR

This might help when working with large low-rank matrices.

This reduces allocations, but doesn't really change performance to any significant degree.
```julia
julia> A = ones(1000, 1000);

julia> @Btime nullspace($A);
  375.469 ms (15 allocations: 61.14 MiB) # master
  374.243 ms (13 allocations: 53.52 MiB) # PR
```
This might help when working with large arrays.
@jishnub jishnub added the linear algebra Linear algebra label Oct 27, 2022
@KristofferC KristofferC added the merge me PR is reviewed. Merge when all tests are passing label Oct 27, 2022
@dkarrasch dkarrasch merged commit e09e96e into JuliaLang:master Oct 27, 2022
@giordano giordano removed the merge me PR is reviewed. Merge when all tests are passing label Oct 27, 2022
@jishnub jishnub deleted the patch-5 branch October 27, 2022 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linear algebra Linear algebra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants