fullstorydev / grpchan

Channels for gRPC: custom transports
MIT License
204 stars 23 forks source link

inprocgrpc can use registered codec if it can't handle a message #54

Closed jhump closed 3 years ago

jhump commented 3 years ago

Related to #53. Add similar support for in-process channels, which try to copy things instead of serialize them.

jhump commented 3 years ago

Any downside to just always forcing into bits and back?

Performance. A big reason the in-process channel exists is to avoid serialization/deserialization.

dragonsinth commented 3 years ago

Performance. A big reason the in-process channel exists is to avoid serialization/deserialization.

So proto cloning is faster? I guess it can reuse immutable things, like string?