Find Liponexol Online

Average Rating: 4.5 out of 5 based on 38 user reviews.

Theodore Patrick posted a comparison of calling a method on primitives, find liponexol online once by themself and by creating an object before. In my opinion the second line is faster than the first one, find liponexol online cause the interpreter can find the method faster from the object list. Find liponexol online According to Theodore Patrick its about the garbage collection. Find liponexol online The flashplayer creates an object, find liponexol online when you are not working with an instanced primitive and delete it after calling the method.

//-- Testing by Theodore Patrick

//primitive string
a = "Hello World";

//object string
a = new String("Hello World");

	a.split( " " );
trace( getTimer() );

Anyway, find liponexol online what you have to keep in mind is, find liponexol online that you have to instance any primitive by new when you need to call a method heavily. Find liponexol online Simple computation like a*b or expressions like a = !b are much slower if you are using objects. This is found is a similar way by holger kohnen in 2003! More confusion can be found, find liponexol online when comparing primitive values

//a = true;
a = new Boolean( true);
trace( a === true); // false
//a = 3;
a = new Number( 3 );
trace( a === 3 ); // false
Keep this in mind...