Changes between Version 82 and Version 83 of DeveloperGuidelines/Optimisation


Ignore:
Timestamp:
11/02/12 04:44:15 (9 years ago)
Author:
Michael Howden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Optimisation

    v82 v83  
    5454 8. Be careful with how you user Storages & Rows:
    5555|| For Variable || A || B (optimized) || Time A || Time B ||
    56 || x = Storage(a="abc") || x.a || x["a"] || 1.064 || 0.39 ||
    57 || x = Storage() || x.a = "b" || x["a"] = "b" || 0.49 || 0.24 ||
    58 || row = !s3db.pr_person[1] || !row["first_name"] || row.first_name || 0.25 || 4.18 ||
     56|| x = Storage(a="abc") || x.a || x!["a"] || 1.064 || 0.39 ||
     57|| x = Storage() || x.a = "b" || x!["a"] = "b" || 0.49 || 0.24 ||
     58|| row = s3db.pr_person![1] || row!["first_name"] || row.first_name || 0.25 || 4.18 ||
    5959|| table = s3db.pr_person || "first_name" in table || hasattr(table, "first_name") || 0.74 || 0.42 ||
    6060|| table = s3db.pr_person || "first_name" in table || table.first_name || 0.74 || 0.27 ||