-
Notifications
You must be signed in to change notification settings - Fork 254
Splitting out OrderedCollections #392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Tim, I had the impression that the old code for OrderedDict had been orphaned, and I had already proposed to completely replace it. See #386 for my proposed replacement as well mine and other people's (e.g. @kmsquire) comments. However, it seems like you are willing to "adopt" the old code. If this is correct, then I will withdraw 386. Please note that the old OrderedSet code has an undocumented getindex method (indexing with Ints). It is not clear to me how this method is supposed to interact with deletions. I suggest that this getindex method should either be removed or documented. |
I just hadn't seen that. This was just an effort at trimming down dependencies. If folks want this split, I will spend time to look into your new implementation and the various associated issues. Main question for now, though, is whether the split is a good thing. |
The split is a good thing. But if this resolution works, and is useful to people, then this works. cf: #310 When you are happy with what you've got, and it is registered. |
Thanks for the link. I understand why you might think to bundle more stuff together. However, as you noticed in that issue "Associative" is quite a grab-bag. From a purely conceptual viewpoint, I'm not even sure whether "Associative" is truly meaningful, in that e.g., Also, I confess that I have mixed enthusiasm for some of the other associative structures---many seem to be small increments in functionality that, often as not, I just implement directly when I need them. EDIT: the previous comment was meant to apply to the various I've further improved the OrderedCollections repo to the point that it is mostly ready. @StephenVavasis, you're exactly right about |
I am now in agreement |
Great. I'll wait a few days and see whether any objections arise, and if nothing too serious comes up I'll go ahead. |
Wait...is there a discussion of the rationale behind this move? This package doesn't seem that big to warrant it being broken up. |
@timholy will you do the honours and remove OrderedCollections from DataStructures.jl, and. add it as a reexport? (I'ld rather not spend times crossportign PRs) |
There seems to be some interest in trimming down this package. I just split out the two ordered containers,
OrderedDict
andOrderedSet
, in a candidate package called OrderedCollections and made 0.7 a requirement. (I also updated toiterate
rather than using the legacystart
/next
/done
.) I am hosting it on my own account for now but will move it to JuliaCollections if there is interest.I did my best to preserve the git history while slimming it down as much as I had patience for. There's probably a lot of extra history there, but I thought that might be better than just starting fresh.
Let me know your thoughts.
The text was updated successfully, but these errors were encountered: