Hmmm... That's odd. :shock: Your system seems somewhat faster than mine.

I have an AMD 64X2 5400+ with 2gb of DDR2 RAM (I believe it was 667Mhz or something...). I compiled my code using Delphi 7 and i run Vista ultimate.

I ran your code a few times and these are my average results:

Classes: 200ms
Records: 78ms

The first time I run the code, the classes seem te be significantly faster (150ms)

And you are forgetting something. You might run more applications in the background than me. I believe this will affect the performance too.