Enhanced performance.

Signed-off-by: Carl Thronson <cthronson@actuate.com>