StackOverflow Questions for Tag: lru

Max
Max

Reputation: 678

Make built-in lru_cache skip caching when function returns None

Score: 9

Views: 3972

Answers: 3

Read More
user22120086
user22120086

Reputation: 1

Python's functools.lru_cache and cache not caching results of class function

Score: 0

Views: 16

Answers: 1

Read More
WGH
WGH

Reputation: 3499

Make @lru_cache ignore some of the function arguments

Score: 92

Views: 24449

Answers: 3

Read More
Deepak Tatyaji Ahire
Deepak Tatyaji Ahire

Reputation: 5309

Does python's functools lru_cache caches function parameters alongside the result?

Score: 1

Views: 1209

Answers: 2

Read More
televator
televator

Reputation: 1333

Python functools lru_cache with instance methods: release object

Score: 107

Views: 64578

Answers: 11

Read More
Samuel Bucher
Samuel Bucher

Reputation: 81

"Uncaught TypeError: LRU is not a constructor" when trying to connect to a MySQL server via Sequelize

Score: 5

Views: 9244

Answers: 3

Read More
Mia8Cew
Mia8Cew

Reputation: 5

CPU: 6 PID: 112 Comm: kswapd0 Tainted: G OE 6.5.1 #69 when using do_madvise()

Score: 0

Views: 31

Answers: 0

Read More
Anubhav
Anubhav

Reputation: 585

How to lru_cache a function when arguments are object instances and the cache needs to look into instance attributes?

Score: 6

Views: 1111

Answers: 1

Read More
StvnBrkdll
StvnBrkdll

Reputation: 4044

How can I configure an EhCache cache to use an LRU eviction strategy in version 3.8 of ehcache?

Score: 0

Views: 3230

Answers: 3

Read More
Jon Rea
Jon Rea

Reputation: 9455

C# Production-quality Thread-Safe in-memory LRU Cache with Expiry?

Score: 8

Views: 4183

Answers: 1

Read More
Mia8Cew
Mia8Cew

Reputation: 5

Can the pages obtained by get_user_pages() be directly recycled or swapped out without using put_user_pages()?

Score: 0

Views: 56

Answers: 1

Read More
Mr Matrix
Mr Matrix

Reputation: 1268

Why does python lru_cache performs best when maxsize is a power-of-two?

Score: 9

Views: 9647

Answers: 2

Read More
Antonello
Antonello

Reputation: 1376

Is it there any LRU implementation of IDictionary?

Score: 42

Views: 39286

Answers: 13

Read More
Carsten
Carsten

Reputation: 2040

How to combine @singledispatch and @lru_cache?

Score: 3

Views: 332

Answers: 1

Read More
Ryan
Ryan

Reputation: 15250

How can I cache results from playwright so the next time the same URL is called, it can pull directly from cache?

Score: 6

Views: 2327

Answers: 1

Read More
Argiris
Argiris

Reputation: 189

In which case LFU is better than LRU?

Score: 4

Views: 4687

Answers: 2

Read More
sophros
sophros

Reputation: 16620

How to cache result of function depending on the value returned

Score: 1

Views: 1246

Answers: 2

Read More
Karthik G Sarode
Karthik G Sarode

Reputation: 39

Why prefer DoubleLinkedList instead of queue and hashmap to design Least recently used (LRU)?

Score: 3

Views: 94

Answers: 1

Read More
NB_1907
NB_1907

Reputation: 133

Deque vs list for LRU Cache Implementation

Score: 0

Views: 195

Answers: 0

Read More
rkaias
rkaias

Reputation: 1

Set associative cache simulation with LRU

Score: 0

Views: 154

Answers: 0

Read More
PreviousPage 1Next