[Pas2js] Executable Size Discussion Nr 2837202 ;)
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri Nov 16 10:40:26 CET 2018
On Fri, 16 Nov 2018 09:31:00 +0000
"Ulrich, Christian" <christian.ulrich at tcsag.de> wrote:
> >The biggest gain is expected to be achieved by removing unnecessary
> >RTTI. The RTTI is not needed when you build forms dynamically.
>
> I have removed the RTTI Stuff from my rtl.js and it makes ~2kb of
> 34kb (maybe I have overseen stuff) Also compressing and stripping the
> rtl.js with my complete application makes 20kb of 34kb so I decided
> for me to not investigate much in those direction.
He meant published properties.
Changing them to public will not only omit generating RTTI for them,
but also allow the optimizer to remove unneeded ones.
Mattias
More information about the Pas2js
mailing list