"Simon Marlow" <[EMAIL PROTECTED]> writes:

>>         data STuple = STuple !Int Foo
>> 
>> is slightly less efficient than using a normal tuple
>> 
>>         (Int,Foo)

> Just checking... with -funbox-strict-fields, right?

Yep.

> It's possible that the boxed Int is being reconstructed for some
> reason.  You'll be able to see the difference more accurately using
> heap profiling. 

Yeah, I guess I'll have to try to find an RPM where profiling works
properly.  (Time to upgrade to 5.02.2 anyway, isn't it.)

I guess I'll try to rewrite the whole thing using monadic arrays that
update in place.  But my nice algorithm is getting more and more
cluttered ... sigh.

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to