
18 Jun
2008
18 Jun
'08
4:10 a.m.
Am Dienstag, 17. Juni 2008 22:37 schrieb Dan Doel:
I'll attach new, hopefully bug-free versions of the benchmark to this message.
With -O2 -fvia-C -optc-O3, the difference is small (less than 1%), but today, ByteArr is faster more often.
Of course, without the list overhead, the ByteArr appears to allocate much more than Ptr for large arrays, because the n*w byte array shows up in the heap allocation, whereas the malloced memory does not. None of this should be a factor in the actual fannkuch benchmark, of course, which only allocates 3 arrays of size 11.
Cheers, -- Dan
Cheers, Daniel