performance...

New Message Reply Date view Thread view Subject view Author view

Swapnil Sha (swapnil++at++teil.soft.net)
Fri, 16 May 1997 09:18:28 -0530 (IST)


Hi,

What can be the performance issue for the following two :

----------- one ------------
f()
{
        pfDCS *dcs = new pfDCS;
        dcs->setRot(h, p, r);
}

---------- two ------------

class Car : public pfDCS
{
        public :
                Car():pfDCS()
                {}

                void setRotation(float h, float p, float r)
                {
                        setRot(h,p,r);
                }
}

f()
{
        Car *car = new Car;

        car->setRotation(....);
}

--------------------------------------------------------------------

Thanks in advance,
-swapnil

***************************************************************************
    swapnil++at++teil.soft.net http://www.teil.soft.net/~swapnil
                 swapnil++at++pfindy.teil.soft.net
                       swapn++at++hotmail.com
***************************************************************************
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:15 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.