-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Replace alloc_struct, free_struct #744
Conversation
see #11 |
Also. it seems that this PR only changes parts of the old engine that Ray wants to drop. |
@amitdo, do you think that the PR should not be applied because it changes code which might be removed later? |
@theraysmith commented in #518
To me, the message here from Ray is clear: That's the way I understand it. * 'you' - not just you, any developer.
|
Here is the way I believe things are working in the Google side. Every commit that we push to this repo, at some time in the future (few weeks/months) will be reviewed by Ray or someone else from Google. If they don't like something they will change it. Then it will be merged with the internal Google branch, which might diverge significantly from the public repo's master branch. I think they do it infrequently, which means that when they try to merge with us they have quite a lot of work to do and it is not so simple as you might think. @theraysmith, @jbreiden |
@amitdo, a fair assessment. I'm going to review the replies to my request for "old better than new", and thanks to those that provided them, with a view to making new better than old on those problems. I haven't got to that yet, as I have been totally occupied by fixing many problems I have found with the synthetic training data generation pipeline. Since training takes about 2 weeks, fixes to the source data get priority treatment over other code changes. Yes, each commit gets reviewed by me and someone else at Google. |
See also: |
Both functions simply call malloc, free. Remove also unneeded null pointer checks and use calloc where possible. Signed-off-by: Stefan Weil <[email protected]>
I rebased the code to fix some merge conflicts. Ray, I noticed your recent changes which introduced
|
Isn't this remark from Ray also relevant here? |
It isn't, as I promised to use C++ code in step 2 (see above). |
If you know what he meant, consider implementing it. |
Both functions simply call malloc, free.
Remove also unneeded null pointer checks and use calloc where possible.
Signed-off-by: Stefan Weil [email protected]