bugMIT/GNU Scheme - Bugs: bug #28370, hash tables should be strong...

 
 

bug #28370: hash tables should be strong unless explicitly desired otherwise

Submitted by:  Taylor R. Campbell <riastradh>
Submitted on:  Mon 21 Dec 2009 11:34:39 PM UTC  
 
Category: runtimeSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Suboptimal behavior
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: Open
Keywords: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 30 May 2013 09:48:59 PM UTC, comment #2:

Not until we have a reasonable story for namespacing so that applications can ask for the hash-table-v2 API rather than just live in a child of the system global environment...

Taylor R. Campbell <riastradh>
Project Member
Thu 30 May 2013 04:42:11 PM UTC, comment #1:

When CAN we change MAKE-EQ-HASH-TABLE to return strong hash tables?

Matt Birkholz <mhb>
Project Member
Mon 21 Dec 2009 11:34:39 PM UTC, original submission:

If one asks for a hash table, one should not get a weak hash table unless one explicitly asked for it. MAKE-EQ-HASH-TABLE and MAKE-EQV-HASH-TABLE currently confusingly yield strong hash tables, as a consequence of which only a small fraction of their uses in MIT Scheme actually needed key-weak hash tables, while for a much large fraction, using key-weak hash tables was either confusing or incorrect. We can't change the semantics of these two procedures immediately, however, because what they do now is what they have been documented to do.

See discussion at <http://lists.gnu.org/archive/html/mit-scheme-devel/2009-12/msg00032.html>. Use of MAKE-EQ-HASH-TABLE was eradicated from MIT Scheme in commit da6830c165b2540d93d1e3f1b31b6f0470392868, replaced by use of the more specific constructors MAKE-STRONG-EQ-HASH-TABLE and MAKE-WEAK-EQ-HASH-TABLE.

Taylor R. Campbell <riastradh>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mhb (Posted a comment)
  • -unavailable- added by mhb
  • -unavailable- added by riastradh (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 30 May 2013 04:42:11 PM UTCmhbCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup