[ 
https://issues.apache.org/jira/browse/BEAM-3388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16331379#comment-16331379
 ] 

ASF GitHub Bot commented on BEAM-3388:
--------------------------------------

herohde opened a new pull request #4443: [BEAM-3388] Use general untyped 
function call mechanism in Go SDK runtime
URL: https://github.com/apache/beam/pull/4443
 
 
    * Dynamic functions can thus use it directly and avoid reflection
    * Change decoders/encodes to simple wrappers to unify arity instead of full 
specialization.
    * Moved type-specialized code into separate package and import it in beamx
    * Made templates more easily reusable for other types.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Reduce Go runtime reflective overhead
> -------------------------------------
>
>                 Key: BEAM-3388
>                 URL: https://issues.apache.org/jira/browse/BEAM-3388
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go
>            Reporter: Henning Rohde
>            Assignee: Henning Rohde
>            Priority: Major
>
> Go reflection is slow and we should avoid it in the Go SDK at runtime, when 
> possible -- especially on the fast paths. It seems unlikely that the language 
> runtime/libraries will improve any time soon: 
> https://github.com/golang/go/issues/7818.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to