StephenVavasis

Results 45 comments of StephenVavasis

I was not able to install JLD2. I tried `Pkg.add(JLD2)` followed by `Pkg.test(JLD2)`, which crashed (segmentation fault).

I finally got a chance to dig deeper into this issue by inserting many `println` statements into `FileIO/src/loadsave.jl` and `FileIO/src/query.jl`, and here is what I have found so far. It...

I also have a weird and long-standing (since at least Julia 0.4.7) issue with PyPlot and ctrl-C. This is for a Windows 10 installation. Once my code begins and PyPlot...

I was thinking of a new type, say SortedVector, that would patch this issue. So the user would say: `searchsorted(SortedVector(my_vector, extract_key_from_record=(x->x.first)), key, by=func)`. Then the docstring for `Base.searchsorted` could briefly...

I think the reason for these errors is that you have defined a function `sizeof` in your code without first importing `Base.sizeof`. This means that your `sizeof` function hides all...

Just noting that the sorted containers take an order argument. From: Christopher T. Chubb ***@***.*** Sent: Sunday, March 21, 2021 5:06 PM To: JuliaCollections/DataStructures.jl ***@***.***> Cc: Subscribed ***@***.***> Subject: Re:...

It is possible to define an order object that takes a non-global function. Suppose the nonglobal function is `my_lt`, such that `my_lt(x,y)` checks whether `x

Sorry, I forgot that the struct denoted `MyCompare` in my previous post is already available in Base under the name `Lt` in ordering.jl. So using this is even easier than...

The point of using Ordering and Lt for this purpose rather than a placeholder for a function is to give the user access to all the tools in ordering.jl, not...

SortedSet, SortedDict, or SortedMultiDict might be a solution (depending on your intended use).