A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tc39/proposal-composites/issues/15 below:

Should composites be eagerly interned (`===` equal) · Issue #15 · tc39/proposal-composites · GitHub

A question raised during yesterday's plenary was if the creation of Composite's should eagerly intern/canonicalize, such that Composite({ x: 1 }) === Composite({ x:1 }).

Upsides:

Downsides:

Important

The quantity of the above lists should not be interpreted as weights on different sides of a scale. 10 downsides could still be trumped by 1 upside.

One good next step here IMO is to get some empirical data from a prototype implementation to measure some of performance impacts of different designs with different application use cases. Maybe this will be a good time for me to learn how to build v8 and get a custom binary on to some mobile phones!

cc: @syg

qwertie, Maxdamantus, Ovyerus, SeregPie and nnmrtsslorber, travislwatson, controversial, tusharsadhwani, AleksandrSl and 1 moreMaxdamantus, slorber, transitive-bullshit, petamoriken, pickaxe828 and 2 more


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4