[
https://issues.apache.org/jira/browse/BEAM-3388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16336722#comment-16336722
]
ASF GitHub Bot commented on BEAM-3388:
--------------------------------------
lostluck opened a new pull request #4474: [BEAM-3388] Use a typeswitch instead
of reflect.Convert
URL: https://github.com/apache/beam/pull/4474
Use a typeswitch instead of reflect.Convert when converting strings or bytes.
----------------------------------------------------------------
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
> Fix For: 2.3.0
>
>
> 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)