Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8522

Optimizes the _civicrm_store_values function for uneven field sets

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.6
    • Fix Version/s: 3.4.6
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      The civicrm_store_values function is generally called with a much smaller value set than the allowable set of fields. By using the array_intersect_key built it to reduce the key space before looping the performance of this function (especially for small values arrays) can be dramatically improved.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              shadesofgraylin Graylin Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: