View RSS Feed

Development Team Blog

  1. Structs, Arrays and Optimization Strategies (Part 2 of 2)

    by , 16-Oct-2009 at 05:50 AM (Development Team Blog)
    In Part One I described the problem of performing lookups for each member of an array and how to use a cache when performing lookups repeatedly with multiple arrays sharing mostly the same members.

    We left part one after describing a caching technique that required further optimization. In this article we will explore different array searching techniques, using the built-in VDF Search Array functions, to optimize our cache algorithm.

    Third Strategy: Using a VDF SearchArray ...

    Updated 26-Oct-2009 at 11:44 AM by John van Houten

    Categories
    Uncategorized
    Attached Thumbnails Attached Files
  2. Structs, Arrays and Optimization Strategies (Part 1 of 2)

    by , 14-Oct-2009 at 09:52 AM (Development Team Blog)
    A common programming problem is the need to process sets of data that are not part of your database. Typically sets of data that are stored in arrays. If the data is structured then you would use arrays of type struct. For example...

    Code:
    Struct tNameData
        String sName
        Date dDateOfBirth
    End_Struct
    
    tNameData[] NameData    // declares an array of type tNameData
    Wherever you have arrays of data like this you will inevitably need to search the array. ...
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	TestParameters.jpg 
Views:	968 
Size:	6.3 KB 
ID:	3777