[parrot/parrot] 5ff0fc: [pmc] rpa: fix splice shrink fast, add tests

GitHub noreply at github.com
Mon Dec 1 12:58:54 UTC 2014


  Branch: refs/heads/smoke-me/rpa-offset-gh1152
  Home:   https://github.com/parrot/parrot
  Commit: 5ff0fc926be9f8044c531dfffa16c39554917f86
      https://github.com/parrot/parrot/commit/5ff0fc926be9f8044c531dfffa16c39554917f86
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-01 (Mon, 01 Dec 2014)

  Changed paths:
    M config/gen/makefiles/root.in
    M src/events.c
    M src/pmc/resizablepmcarray.pmc
    M t/pmc/resizablepmcarray.t

  Log Message:
  -----------
  [pmc] rpa: fix splice shrink fast, add tests

test rpa coverage and add all missing tests
shrink fast has a wrong offset, test splice_shrink_fast()
add tests for resize off empty and resize off move, the 2 fast
  variants with existing offset.
remove shift slow case, this is invalid, add assertion. this is caught
by size == 0 and we cannot have an offset bigger then the threshold.

remove unnedeed pmc/pmc_arrayiterator.h from src/events.c




More information about the parrot-commits mailing list