[bug] inefficient copying of dictionaries

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug] inefficient copying of dictionaries

Paolo Bonzini
Issue status update for
http://smalltalk.gnu.org/node/138
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/138

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     minor
 Assigned to:  Unassigned
 Reported by:  bonzinip
 Updated by:   bonzinip
 Status:       active

While copying it is useless to compare added keys to existing ones,
because keys are guaranteed to be unique.  GNU Smalltalk should simply
look for an empty slot in #addWhileGrowing: and #whileGrowingAt:put:.




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] inefficient copying of dictionaries

Paolo Bonzini-3
Issue status update for
http://smalltalk.gnu.org/project/issue/138
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/138

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     minor
 Assigned to:  Unassigned
 Reported by:  bonzinip
 Updated by:   bonzinip
 Status:       active

committed to master as 6ccb43a.  It unveiled a latent problem in
CompiledCode>>#hash (which could possibly trigger infinite loops), and
that was committed to both stable-3.0 (a591dc6) and master (43311f1).




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk