crowell / modpagespeed_tmp

Automatically exported from code.google.com/p/modpagespeed
Apache License 2.0
0 stars 0 forks source link

Default-valued options in RewriteOptions should not consume memory. #716

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the directly instantiated options values make the RewriteOptions 
class size 4784 on 64-bits.

This does not include all the pointed-to objects.

We should trim that down so options with default values take little or no space.

Note that the filter-sets are now quite small as they are just a few bitsets, 
but the options fields are numerous and probably mostly left as default.

Original issue reported on code.google.com by jmara...@google.com on 30 May 2013 at 7:05