Gustavo Goretkin

Results 85 comments of Gustavo Goretkin

I think the actual issue is not really that we care that `a === OneTo(n)`, but that `first(a)` be statically known to be 1 . Is there something like `@inferred`...

EDIT: sorry I had not seen jishnub's reply when I wrote this. ```julia julia> pairs(OffsetArrays.IdOffsetRange(Base.OneTo(5), 2)) pairs(::OffsetArrays.IdOffsetRange{Int64,Base.OneTo{Int64}}) with 5 entries: 3 => 3 4 => 4 5 => 5 6...

Let me know what you think about this. I often use `DefaultDict` because the behavior is convenient in a very localized place, and I do not want that behavior elsewhere....

If I'm understanding correctly, that idea can be used to obviate the need for `DefaultDict` altogether if you're willing to use use `get!` in place of `getindex`. Said differently, I...

Backtracking pointers in dynamic programming, e.g. [storing the `prev` vertex](https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm#Pseudocode) is the use case I have in mind.

I don't have a good answer to that question unfortunately. I think it had struck me as a natural generalization, however I see your point. An iterator from node to...

related or duplicate: https://github.com/JuliaIO/JLD2.jl/issues/175

This feature is very exciting. Is there any technical issue that is preventing this PR from being merged? It seems even as far as CPU Time goes, there may be...

Same question applies to `LineString`: https://github.com/JuliaGeometry/GeometryBasics.jl/blob/dfb00836d34048440e02cfb104ed197f8f5aae92/src/basic_types.jl#L169-L175

I am not very familiar with this, but I believe there are conflicting desiderata for the representation. 1. A general search for "openGL normal per face not per vertex" suggests...