[parrot/parrot] 7b8bf1: [OO] Added object attribute storage initialization...

noreply at github.com noreply at github.com
Thu Sep 8 20:00:43 UTC 2011


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot

  Commit: 7b8bf15143949d568627bf18c749979462737007
      https://github.com/parrot/parrot/commit/7b8bf15143949d568627bf18c749979462737007
  Author: chromatic <chromatic at wgz.org>
  Date:   2011-09-08 (Thu, 08 Sep 2011)

  Changed paths:
    M src/pmc/class.pmc

  Log Message:
  -----------
  [OO] Added object attribute storage initialization.

This presized cache avoids the need to allocate (and re-allocate) storage for
object attributes on access. It's a small improvement until a unified
object-and-storage strategy exists.


  Commit: 35318ef296fe7573ce44a29ae01ea687f6994200
      https://github.com/parrot/parrot/commit/35318ef296fe7573ce44a29ae01ea687f6994200
  Author: chromatic <chromatic at wgz.org>
  Date:   2011-09-08 (Thu, 08 Sep 2011)

  Changed paths:
    M src/gc/fixed_allocator.c

  Log Message:
  -----------
  [GC] Rearranged code in pool allocator.

This is a tiny simplification which should give a very modest performance
improvement.


  Commit: ac4409f9b7242a82cae4275d1c364370f3680fdc
      https://github.com/parrot/parrot/commit/ac4409f9b7242a82cae4275d1c364370f3680fdc
  Author: chromatic <chromatic at wgz.org>
  Date:   2011-09-08 (Thu, 08 Sep 2011)

  Changed paths:
    M src/call/args.c

  Log Message:
  -----------
  [PCC] Set arg_flags on CallContext directly.

This avoids a vtable call and a STRING comparison in the common case, and
should not harm subclassing at all. This ought to improve performance of
external calls by a modest amount.


Compare: https://github.com/parrot/parrot/compare/a23acf4...ac4409f


More information about the parrot-commits mailing list