chakra-core / chakra-core/ChakraCore

Improve lifetime of the eval cache

Open
#4,513 3 comments 1 reaction 1 assignee Claimed by @pleath View on GitHub
Proposal
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Per discussion with @LouisLaf and @pleath , there is room to improve the eval cache so it will cleanup before a navigation takes place to conserve memory. Please evaluate an LRU cache using the following possible inputs. It is possible other inputs make more sense so please consider this a list of ideas rather than a requirement.
- Time since used
- Size of data
- Available memory
- Possibly a toggle to shrink further when given a signal from host

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.