#679: [TODO] Hash changes to AssociativePMCArray
---------------------+------------------------------------------------------
 Reporter:  allison  |       Owner:  coke
     Type:  todo     |      Status:  new 
 Priority:  normal   |   Milestone:  1.5 
Component:  none     |     Version:      
 Severity:  medium   |    Keywords:      
     Lang:           |       Patch:      
 Platform:           |  
---------------------+------------------------------------------------------

Comment(by bacek):

 Replying to [comment:5 allison]:
 > We really shouldn't have separate Iterator classes for specific data
 types (though I agree the new implementation is an improvement over the
 old Iterator). Instead of having ArrayIterator and HashIterator as a
 subclass of Iterator, an Iterator should detect whether it's working with
 an array or hash and behave appropriately.

 What??? Back to Keys??? Single class to detect aggregate such as Array,
 Hash, OrderedHash, String and possible many other form HLL???

 BTW, Current Hashes can have "native" type as values. And "native" as key
 except FLOATVAL. So, renaming Hash to UnorderedPMCArray is misleading.

 --
 Bacek

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/679#comment:6>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to