JuliaSmoothOptimizers / JuliaSmoothOptimizers/LinearOperators.jl

Transpose allocates 16 bytes

Open
#384 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
209
Forks
46
Avg merge
6h 50m
Merged PRs (30d)
1

Description

@tmigot @amontoison

See existing discussion in https://github.com/JuliaSmoothOptimizers/NLPModelsTest.jl/issues/128, https://github.com/JuliaSmoothOptimizers/NLPModels.jl/issues/499#issuecomment-3544208564

Stopped tracking it recently in NLPModels: https://github.com/JuliaSmoothOptimizers/NLPModelsTest.jl/pull/129

I think it's due to making the {Adjoint/Transpose/Conjugate}LinearOperator, which has one field. Maybe we should pre-allocate those when making LinearOperator?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.