func github.com/jackc/pgx/v5/internal/stmtcache.NewLRUCache
5 uses
github.com/jackc/pgx/v5/internal/stmtcache (current package)
lru_cache.go#L29: func NewLRUCache(cap int) *LRUCache {
github.com/jackc/pgx/v5
conn.go#L289: c.statementCache = stmtcache.NewLRUCache(c.config.StatementCacheCapacity)
conn.go#L293: c.descriptionCache = stmtcache.NewLRUCache(c.config.DescriptionCacheCapacity)
conn.go#L400: c.statementCache = stmtcache.NewLRUCache(c.config.StatementCacheCapacity)
conn.go#L403: c.descriptionCache = stmtcache.NewLRUCache(c.config.DescriptionCacheCapacity)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)