LimeSurvey: master 9510681c

Author Committer Branch Timestamp Parent
Shawn Wales Shawn Wales master 2006-11-20 15:05 master 0a903cce
Changeset

Optimized Routines

11/10/06 - templatereplace() - common.php - 49%
Use of strpos() and if statements to limit executing lines.

11/13/06 - createinsertquery() - save.php - 31%
Changed arraySearchByKey call to include last parameter (1), which stops looking in array after finding a match.

11/13/06 - createfieldmap() - common.php - 88%
Store fieldmap as a global array so it is only create once per page. Significant improvement in performance when
submitting and detailed email notification turned on. (16 sec vs. 2 sec)

11/13/06 - returnquestiontitlefromfieldcode() - common.php - 37%
Changed arraySearchByKey call to include last parameter (1), which stops looking in array after finding a match.

11/13/06 - getextendedanswer() - common.php - 36%
Changed arraySearchByKey call to include last parameter (1), which stops looking in array after finding a match.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2153 b72ed6b6-b9f8-46b5-92b4-906544132732

mod - common.php Diff File
mod - save.php Diff File