Andrew Owens

Results 21 comments of Andrew Owens

I know this is an old issue but I just had need for this feature in my project. I'm looking up a key which may not exist. If it doesn't...

Either this is pretty much fixed in the latest master and 0.6 or it's hardware specific. When I run your example, I get ``` julia> @benchmark sum(x, skipnull=true) BenchmarkTools.Trial: memory...

Also this only started when I added some additional fields to `StaticOptimizationResults`

In 1.0.1 it now allocates all the time. It's also faster than it was last I tried this. Is there some limit to the amount of data you can put...

Are you interpolating the string? Reminds me of this comment: https://discourse.julialang.org/t/understanding-performance-using-btime-and-code-warntype-code-llvm-etc/16293/2?u=aaowens

One straightforward way would be to copy and paste this code as is into Optim and have `optimize(f, x::StaticArray, BFGS())` call the static version and return a `StaticOptimizationResult`, but this...

Ok, I started this over here https://github.com/aaowens/StaticOptim.jl/pull/17 . I left out some fields from `MultivariateOptimizationResults` because I wasn't sure what they were.

There should be two changes. 1. Modify operators to work on StaticArrays 2. Skip the make ϕ functions by copying the code into the loop body. I couldn't make it...

I've also tried to put the linesearch code in a function, but my results are similar to yours. Using `@inline` makes no difference.

I tagged an initial version for this package and updated the readme. I'm not sure if you still want the functionality in Optim since there might not be a way...