liberty-eiffel
[Top][All Lists]
Advanced

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

Re: [Liberty-eiffel] GC


From: Cyril ADRIAN
Subject: Re: [Liberty-eiffel] GC
Date: Wed, 19 Nov 2014 11:32:47 +0100

Hi Rapha,

2014-11-13 22:02 GMT+01:00 Raphael Mack <address@hidden>:
isn't "i" in line 8 always "1", as item has capacity 0? Or in other words: wouldn't item better be recycling_item?

Well done. I think line 8 should read:
i := items_comparator.insert_index(strings, recycling_item)

And shouldn't STRING_RECYCLING_ITEM.set_item set capacity := 0 if a_item = Void?

No, otherwise you'd need to sort `strings`. Lost time ;-)

Cheers,

Cyril

reply via email to

[Prev in Thread] Current Thread [Next in Thread]