facebookarchive/prepack

Use a much smaller upper limit for the size of the values domain of a binary operation

Open

#1,000 建立於 2017年9月26日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (520 fork)batch import
abstractenhancementhelp wanted

倉庫指標

Star
 (14,268 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

The maximum number of values that will be tracked in the ValuesDomain as the result of a binary operation or logical operation is currently 10 000. This is unlikely to be helpful. Add some instrumentation to get hold of the actual distribution of the sizes of value domains, given some relevant benchmarks, and then limit the size of the domain to the 99 percentile.

貢獻者指南