Baunsgaard commented on PR #1628:
URL: https://github.com/apache/systemds/pull/1628#issuecomment-1149797403

   > You have a point there, I also realized this recently when trying to also 
replace SP Instructions without duplicating code. I will weigh the options, if 
I come up with more, but will most likely opt to replace it already during 
parsing.
   > 
   > Edit: this actually is not that simple, as we create our instructions 
before we get the runtime information if an object is federated AFAIK. Note 
that federated instruction compilation exists by now, but this is about a 
runtime decision. I will search for a smooth approach, currently only 
interfaces come to mind, but would like to find something better.
   
   You are right, it is not that simple but try to prioritize a good extensible 
design and then we can expand upon it.
   If you cannot find a better way, then i still can live with the design 
proposed already.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to