Interesting factoid: My original Flash Flex app was 1.5 MB plus a 395 KB module.
The ported Javascript version is 1.8 MB before gzipping plus maybe 100KB of images. The main app after gzipping is 494KB. That’s including all the framework code and TLF. So even after figuring in linked images, the Javascript version is about 1/3 of the original size. That’s pretty amazing. Harbs > On Jun 25, 2017, at 10:15 PM, Josh Tynjala <joshtynj...@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.li...@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 <joshtynj...@gmail.com> wrote: >> >> I have yet to hear a good reason not to default to null either.