Daniel Pinyol
Daniel Pinyol
Spanish also please
fyi, latest 0.6.2 release can now analyse Metatheory.jl
With julia 1.8, this sample case generates 1k allocations instead of 1 ```julia julia> using AutoPreallocation julia> function f() x = rand(100) nothing end f (generic function with 1 method)...
:+1: I currently detect some cases on my code with a sloppy multiline grep, but it would be cool if jet could make it
hi, any news on this? any workaround? thanks
@MilesCranmer rebased. thanks
I can reproduce this issue with `copy.copy()` or `copy.deepcopy()
It would also be nice to be able to get np arrays with dtype `np.object` for ``` pl.DataFrame({"A": [[1,2]], "B":1}, {"A": pl.Array(pl.Int64, 2), "B": pl.Int32}).to_numpy() ``` instead of this exception...
@fredrikekre thank you for the quick reply. Can you think of any workaround? Any kind of function barrier?
@andyferris I still get allocations. Am I missing something? thanks ``` using StaticArrays function createMVector(len::Val{L}) where {L} return MVector{L, Int}((1 for i in 1:L)) end const s=[1] julia> @allocated createMVector(Val(length(s)))...