#1399: Array unshift/access broken
----------------------+-----------------------------------------------------
Reporter: plobsing | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: core | Version: trunk
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
Comment(by kurahaupo):
I've found the key problem: , which will need a patch of about 20-30
lines. (An entire loop needs to be re-done).
Or I can include the entire work-over and refactoring I've given it while
I've been trying to figure out how exactly it works.
That would include:
* fix the round-up-to-power-of-two logic so it doesn't leave unnecessary
empty space
* unify handling of several different chunk types (therefore fewer tests
& code paths)
* make chunk grouping work with any size chunks, not just power-of-two
* separate the handling of "sparsity" and "grouping" (there would still
be some interaction in the allocation policy)
* reorder functions to make inlining available
Any preferences for the "short" patch or the "full" patch?
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1399#comment:6>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets