Data Structures and Algorithms with Object-Oriented Design Patterns in C#
next up previous contents index

The Last Axiom

In this section we state the last axiom needed for the detailed model of the common language runtime. This axiom addresses the time required to create a new object instance:

Axiom  The time required to create a new object instance using the new operator is a constant, tex2html_wrap_inline57807. This time does not include any time taken to initialize the object.

By applying Axioms gif, gif, gif and gif, we can determine that the running time of the statement

Int32 ref = new Int32(0);
is tex2html_wrap_inline57809, where tex2html_wrap_inline57811 is the running time of the Int32 constructor.


next up previous contents index

Bruno Copyright © 2001 by Bruno R. Preiss, P.Eng. All rights reserved.