-
-
Notifications
You must be signed in to change notification settings - Fork 739
Add array target template #664
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
Conversation
* ElementEncodingType (12) * ElementType(1)
* ArrayTarget (12)
|
The main difference is name. When we see
Something like this I suppose: arrays are pointers in C => array target is like a pointer target. |
I grant you that |
@dsimcha Why do think that this is worth adding? It duplicates |
Honestly, I have no idea how this slipped through the cracks in my mind. Merging it was definitely a mistake. |
I don't have time right this second, but I'll make a pull request to revert this this evening if you don't beat me to it. |
@dsimcha I just reverted it. |
@jmdavis wrote:
In your local repo only. ) |
Blast it. You're right. Fixing... Okay. It's been properly reverted now. Thanks for pointing that out. At least I accidentally commit to my repository rather than accidentally committing to the main one.
Glancing over it, it looks like it's probably fine, but I'm not going to take the time to cherry pick pull requests. If you have changes that you think are worth adding to Phobos separate from |
The main purpose of this pull isn't addition of |
Is it a joke? It takes less than a half of a minute, where is the trouble? |
The title and description all talk about Regardless, in general, none of us are going to be evaluating individual commits as to whether they should be merged or not. We may look at individual commits for large pull requests because it can make understanding the changes easier in those cases, but in general, we're going to just look at the diff as a whole and review the request as a whole. It's then either acceptable and is merged, needs work and the submitter is asked to make changes, or it's rejected. We don't take individual commits and merge them in because they seem good while the other others don't. And honestly, don't expect much of anyone on the Phobos dev team to be doing much of anything with merging a pull request beyond hitting the merge button or not. Most of us learned git specifically because dmd, druntime, and Phobos were moved to github. We know what we need to in order to make that work, but most of us aren't all that skilled with git. I've used the cherry pick command all of maybe once, and I probably know git better than most of the Phobos devs, based on past questions and comments. It wouldn't surprise me if a number of us didn't even know about cherry picking at all. I'll do it this once, but don't expect us to be doing it normally, and it'll probably take me longer to figure out how to do it than it would take you to create a new pull request. We're busy enough that dealing with pull requests in general proves to be problematic already (as the generally slow review and pull rate shows) without doing stuff like worrying about whether individual commits are worthwhile to be merged on their own. |
Okay. The first commit with changes to use |
Yes, again.
But this time with supplemental changes showing that
ArrayTarget
is just as frequently used asElementEncodingType
and makes code cleaner.This pull is easier to review by commits.