On Wednesday, June 23, 2004, at 11:58 PM, Brian Yennie wrote:

2) Determine if you need case-sensitivity. Setting the caseSensitive to TRUE (it's FALSE by default) provides around a 50% speedup by itself. Of course you can only use it if you actually are doing case sensitive work, OR you are able to convert things with upper() or lower() first and then restore them later in a clever fashion.

You learn something new everyday around here. I didn't know that offset() worked faster in "caseSensitive to TRUE" mode.


I have an XML based data structure that works like a database that would be perfect to test this on. Imagine that, a 50% increase in speed for one line of code.

Thanks,

Mark

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to