-
Notifications
You must be signed in to change notification settings - Fork 834
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
Return pointer instead of value in SeldonApiClient methods #2014
Comments
|
This is perfect @glindsell, thanks for the insight! I had to forgot about that Go nuance :) |
Going down on Golang good practices I now wonder if it is best to have
or
|
I think the SeldonPayload is meant to be very generic and not really get into the machine learning specifics. So I'd suggest not unless a good reason. |
Ok, that basically cross away |
Methods defined by
SeldonApiClient
interface inexecutor
returnpayload.SeldonPayload
s via value not reference.Is this a potential bottleneck? Could we gain by returning pointers there?
_Originally posted by @axsaucedo in #2005 (comment)
The text was updated successfully, but these errors were encountered: