[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] STAT bits - Ouch!



On Thu, 2010-12-09 at 22:13 +0100, Konrad Kokoszkiewicz wrote:
> >>> It's actually a performance enhancement by "not" having to do this.
> >>
> >> Yes, but the conversion is not very heavy, the entire statement translates
> >> to perhaps 8 assembler instructions, not more than 50 CPU clock ticks.
> >
> > And this is the filesystem, so it can be called many times. Thus, any
> > saving is a performance boost regardless how small.
> 
> I tend to disagree, I bet the gain wouldn't be even measurable.

And I disagree with you on this. The fact you are saving CPU cycles
means improved performance. Period. Whether it's measurable or not
depends on what you are doing.

Alan.