webgui/lib/WebGUI/Asset/Wobject/Survey
Patrick Donelan cbc308c55a SurveyJSON size reduction/optimization
SurveyJSON was storing a lot of redundant information (every setting on
every single section/question/answer, which, in most cases, will simply
take on the default values). This was bloating the surveyJSON property in
the db, and equally as importantly, slowing down Survey because it had to
do a lot of JSON parsing on the serialised surveyJSON object.

We now factor out and store the current section/question/answer defaults
along with the surveyJSON data itself, which means that we only needs to
store properties that differ from the defaults. This results is a massive
reduction in the size of the serialized surveyJSON stored in the database,
as well as a speed-up in json parsing time.

The compression/uncompression happens transparently to the rest of Survey.
2009-06-19 08:07:18 +00:00
..
ExpressionEngine.pm string evals are evil 2009-05-29 21:41:52 +00:00
ResponseJSON.pm Fixed Survey section-level branch precedence bug 2009-06-03 02:12:00 +00:00
SurveyJSON.pm SurveyJSON size reduction/optimization 2009-06-19 08:07:18 +00:00
Test.pm Survey cleanup and minor bug fixes 2009-06-09 03:27:06 +00:00