StephenVavasis

Results 45 comments of StephenVavasis

There is mention of `Associative` in `docs/src/sorted_containers.md`. Clearly this should be fixed. I already have a pending PR (#426) to make some changes to that file. After that PR is...

Yes, this is a good idea. There is perhaps a larger issue: The sort ordering is built on top of Base.Ordering, but perhaps it is better to build the sort...

Since you are trying to clean this up before the 1.0 release, you may also want to compare the public API for MultiDict to that of SortedMultiDict to look for...

I suggest `startof` followed by `deref` followed by `delete!` If you don't actually need the first item and you are using `pop` merely to discard it, then `delete!((sd, startof(sd)))` should...

This is not implemented. I am working on the sorted containers currently (https://github.com/JuliaCollections/DataStructures.jl/pull/787) but this functionality is not part of the current project. As a temporary response to this issue,...

The following is a quote from the manual: (https://docs.julialang.org/en/v1/manual/conversion-and-promotion/#When-is-convert-called?) `convert(T, x)` is expected to return the original `x` if `x` is already of type `T`. In contrast, if `T` is...

On my Windows 10 machine (Intel i7), Julia 1.5.1 (fresh install), I was not able to reproduce the issue with `test_sorted_containers` when I invoked `Pkg.test("DataStructures")`. It does take a bit...

If I understand correctly, you are looking for a data structure with two fields that is searchable on either field. Your problem could be solved with a SortedMultiDict that maps...

OK, so then maybe the offending constructor in Fenwick should take a `Vector` instead of an `AbstractVector`? Btw, should I split this issue into three separate issues, one for fenwick,...

Could anyone explain in more detail the above-mentioned recommendation regarding the `insert!` function? In particular, does the recommendation mean that `insert!(ss, k)`, where ss is a SortedSet and k is...