Siebel eScript Language Reference > Siebel eScript Language Overview > Data Types in Siebel eScript >

Performance Considerations in Using Object Data Types


There is a performance overhead associated with using object data types when compared with using primitive data types and, as a result, primitive data types typically provide superior execution performance. For this reason, it is recommended that you use an object data type only if you need to make use of properties specific to that object type. Otherwise, if an equivalent primitive type exists for the object type, use the primitive data type instead.

Table 4 shows the object data types for which equivalent primitive data types exist.

Table 4. Object Data Type to Primitive Data Type Mappings
Instead of using this object...
You can use this primitive

String

chars

Number

float

Boolean

bool

For example, use the chars primitive data type instead of a String object type in your scripts when you do not need to use String-specific object or conversion methods.

Siebel eScript Language Reference Copyright © 2007, Oracle. All rights reserved.