caching
v1.15.5
github.com/bytedance/sonic/internal/optcaching
Documentation
pkg.go.dev ↗Types
FieldCache
type FieldCache struct {
// contains filtered or unexported fields
}
NewFieldCache
func NewFieldCache(fields []resolver.FieldMeta) *FieldCache
FieldCache.Get
func (f *FieldCache) Get(name string, caseSensitive bool) int