[comp.sys.mac.programmer] LSC stdio ?

ews00461@uxa.cso.uiuc.edu (05/05/89)

I've been designing a program for my Mac in C on a unix system.
I decided to move it to the Mac before it got out of hand.  It
compiled perfectly under LSC and I was astounded at the speed of
the compiler!  Then I ran the program.  It makes heavy use of
stdio because of a lot of debuggin messages I've thrown in.  Anyway,
it is incredibly slow on my Mac.  Is the stdio library in LSC that
slow ?  I also use malloc() a lot - is that slowing me down ?

Any ideas ?

Eric W Sink
ews00461@uxa.cso.uiuc.edu

brian@hpfcdj.HP.COM (Brian Rauchfuss) (05/09/89)

    LSC has a profiler, you can use it to check
to see what is taking up all the time.

------------------------------------------------------------------
Brian Smokefoot              "I never knew I could shape my life
brian@hpfcbdr.HP.COM         like the artist paints his dreams
                             on a canvas." - Minor Detail