flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: git commit: [flex-asjs] [refs/heads/tlf] - Reverted strict equality
Date Sun, 25 Jun 2017 19:22:49 GMT

If we add the option to the compiler, we can do some tests with and without initialization.
Strict equality would be a little harder but that should be doable as well. (A temporary find
and replace should work even though it might break code. It’ll at least give an idea on
the impact to code size.)


> On Jun 25, 2017, at 10:15 PM, Josh Tynjala <joshtynjala@gmail.com> wrote:
> I'd also be curious to see size comparisons using gzip too, which is pretty
> standard in the JS world.
> - Josh
> On Jun 25, 2017 10:57 AM, "Harbs" <harbs.lists@gmail.com> wrote:
> For kicks I just checked my minified code of my app for equality and
> inequality checks and there were 5466 instances. Just adding strict
> equality would add 3KB to my file size. (out of 1.8 MB, but still...)
> It would be an interesting exercise to see much much adding null
> initialization would add to file size. I would guess that it would be
> significant.
>> On Jun 25, 2017, at 7:36 PM, Josh Tynjala <joshtynjala@gmail.com> wrote:
>> I have yet to hear a good reason not to default to null either.

View raw message