chakra-core / chakra-core/ChakraCore

Possibility of optimizing memory of BoundpropertyRecordList

Open
#3,206 0 comments 0 reactions 1 assignee Claimed by @boingoing View on GitHub
Performance
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

For every script (`Utf8SourceInfo`) a global function contains `boundPropertyRecords` map which is a hash set of `propertyId` to `ProperytRecord*`. All the functions of that script share this map and add entries of property it finds during bytecodegen of that function. This map is at global function level because multiple functions can have same property referred and it is wise to have their entries once in this map instead of having separate map for every function. However now we redefer parse a function, there can be a case where property record entries added by re-deferred function are unique to that function and can be safely removed from the global map. Evaluate if there is a better way where we can optimize how we save bound property records.

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.