-
Notifications
You must be signed in to change notification settings - Fork 370
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
Update the broadcasted getproperty when Julia 1.7 is out #2804
Comments
On Slack majority of people voted to:
I will make this change in 1.3 release after Julia 1.7 is out then. However, as none of the key people (maintaining highly-coupled packages or representatives of the wider user community) seem to have voted there I am calling key people out here for opinion before I go this path (of course others are also welcome to chime in): @nalimilan, @oxinabox, @pdeffebach, @quinnj, @jkrumbiegel. |
That question confused me, sorry.
|
This is the current behavior. Are you sure you want the following:
The point of this proposal is to make |
Thank you for reminding me what the problem is. I'm on the fence, but I really do think that if Of course, we already have one exception, which is when the column I think overall, we should accomadate people's intuitions about what allocates, rather than intuition about what promotion rules are in other languages. I anticipate more people being frustrated by slowdowns when By keeping the default vector-like behavior, we don't have to explain our complicated rules as much and just point to the Base Julia docs. The consistency is nice. That said, you know I imagine the audience of DataFrames.jl to be something like first year MPP students trying to understand data analysis for the first time. So I understand the considerations about type promotion. |
Here is the slowdown level:
vs.
so indeed this is slower, but note that the timings of such operations are so fast that I imagine no one would ever notice the slowdown in practice. |
It's difficult to discuss intuitions as they vary a lot depending on previous experience, context, etc. IMO the main advantage of this change would be to have The downside is of course that we introduce an inconsistency between |
this is my major personal motivation |
The plan is that we will change this behavior in DataFrames.jl 1.4. In 1.3 release an explicit warning message will be printed that the behavior will change in 1.4. |
Just to keep track of it. See #2655.
The text was updated successfully, but these errors were encountered: