#1741: Macro abstraction for hash iterations
------------------------+---------------------------------------------------
 Reporter:  luben       |        Type:  feature
   Status:  new         |    Priority:  normal 
Milestone:              |   Component:  core   
  Version:  2.6.0       |    Severity:  medium 
 Keywords:  hash macro  |        Lang:         
    Patch:  new         |    Platform:  all    
------------------------+---------------------------------------------------

Comment(by luben):

 Adding two patches with fixes:

 0008:

     Rename INITIAL_BUCKETS to INITIAL_SIZE

     INITIAL_BUCKETS name is misleading. This define is used for the size
 of
     the index. The number of allocated buckets is N_BUCKETS(INITIAL_SIZE)
     and could be differend.

 0009:

     Important fixes

     * make hash again work with N_BUCKETS(X) != X
     * fix memory allocation problems catched by
       more strict allocators. libhoard catched some
       use-after-free bugs.
     * realocate pointers in linear scan - it's faster

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1741#comment:4>
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