puzzled by different speeds...
hi,
i have a class called 'ClaimsZipper' that zips chunks of data into a file in proper
format.
I use this in another class that determines what to zip into the file.
the problem is, when i run ClaimsZipper by itself (meaning i use the main()
function and instantiate a ClaimsZipper object inside there) I call the
writeToFile(byte claim[]);
function. I ran a Profiler on it and found that each call is taking about .032
seconds. Not bad.
However, when I run this class inside the other class I see in the Profiler that it
is taking about .1 seconds, which is 3 times slower!
does anyone know why this might be? why would calling a class inside of
another class cause the former to slow down?
does calling it from inside the class have NOTHING to do with its speed?
thanks!

