#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
------------------------+---------------------------------------------------
A lot of files in the source tree poke with hash.c internals. I have
extracted 2 common patterns as C preprocessor macros and have replaced the
manual iteration with macro iteration in a lot of PMCs.
Benefits:
1. Less code
2. Encapsulation - if you want to change hash internals you have to edit
only hash.c and hash.h
Better names for macros are appreciated
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1741>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets