Thanks !
Now, a small follow-up question: if I subsequently
test 2 Instances whether they were instantiated with the same Attributes value,
as in
test (Instance a1 _) (Instance a2 _) =
(a1==a2)
will this be implemented efficiently ? I.e. will it
check first whether the pointers happen to be the same, and only then do a full
Eq comparison ?
Cheers
Frank
|
Title: Message
- space efficiency question Frank Dellaert
- RE: space efficiency question Simon Peyton-Jones
- Re: space efficiency question Frank Dellaert
- Re: space efficiency question Janis Voigtlaender