Changeset 198

Show
Ignore:
Timestamp:
03/24/09 13:24:31 (15 years ago)
Author:
bhilburn
Message:

Adding a note about a possible speed enhancement. I think it is
important enough to deserve its own commit.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/policy_engines/PolicyEngine.cpp

    r197 r198  
    8585        // whole string?  We only need to compare until we find a single different 
    8686        // byte... 
     87        // 
     88        // If we send integer op codes rather than strings, this process will be 
     89        // MUCH faster since instead of donig string compares we can simply 
     90        // switch on the integer value... 
    8791        if(strcmp(buffer, "validate_parameters") == 0) { 
    8892            ValidateParameters();