It would seem that once in a while you do get to kill two birds with one stone even in computer science!<br><br><div class="gmail_quote">On Fri, Jun 7, 2013 at 12:31 PM, Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On Jun 7, 2013, at 8:50 AM, Bradley Lucier <<a href="mailto:lucier@math.purdue.edu">lucier@math.purdue.edu</a>> wrote:<br>
<div class="im"><br>
> On 06/07/2013 11:29 AM, Marc Feeley wrote:<br>
>> So I have pushed a commit which reverts this back until I can investigate further and see which one of the uses of a signed integer were really required. Marc<br>
><br>
</div>> Marc:<br>
><br>
> You didn't really revert it, you replaced one hack with a more complicated hack.<br>
><br>
> Perhaps you should really revert it and then come up with a different solution for the problem the first hack was trying to fix.  Some of the SIZE_Ts replaced unsigned longs, so you're losing more information the more hacks you layer on top of each other.<br>

><br>
> Brad<br>
<br>
No.  Where there used to be a use of "long" there is now ___SIZE_TS and where there used to be a use of "unsigned long" there is now ___SIZE_T.  There is no loss of information.  It is true that it is not an actual "revert" textually, but semantically it is.<br>

<br>
I want to commit a change that will allow you and others to keep on working with the latest version of Gambit, and at the same time serve as a reminder of the places I need to double check at a later time.  I think 99% of the uses of ___SIZE_TS can be replaced with ___SIZE_T, but I haven't yet located the 1% where a signed type is used (adn at that point I will rename to ___SSIZE_T, and remove the definition of ___SIZE_TS).<br>

<br>
I did verify that chud1.scm now works.  So you should be able to continue with your work.<br>
<br>
I would be interested in knowing if this commit fixes the memory management problems other people have encountered lately.<br>
<div class="HOEnZb"><div class="h5"><br>
Marc<br>
<br>
_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
<br>
</div></div></blockquote></div><br>