golang / golang/groupcache

SetProto for protoSink write-through

Open
#121 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
13.3k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Hi,

Are there any plans to implement more efficient (write-through or copy) SetProto for protoSink, as described in the comments here: https://github.com/golang/groupcache/blob/master/sinks.go#L198-L201 ?

The current implementation is similar to using a byte slice sink and marshalling the object before inserting it into the cache and unmarshalling when it is returned from the cache.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.