[parrot/parrot] 62c761: [rc] Enabled PC tracking in fast core.

noreply at github.com noreply at github.com
Mon Jul 4 22:13:23 UTC 2011


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

  Commit: 62c761d802f13fac2ce9f4537cb50148a099ccbc
      https://github.com/parrot/parrot/commit/62c761d802f13fac2ce9f4537cb50148a099ccbc
  Author: chromatic <chromatic at wgz.org>
  Date:   2011-07-04 (Mon, 04 Jul 2011)

  Changed paths:
    M src/runcore/cores.c

  Log Message:
  -----------
  [rc] Enabled PC tracking in fast core.


  Commit: 273c003933ca10ec3b09e1e75f347c77efb5f6b8
      https://github.com/parrot/parrot/commit/273c003933ca10ec3b09e1e75f347c77efb5f6b8
  Author: chromatic <chromatic at wgz.org>
  Date:   2011-07-04 (Mon, 04 Jul 2011)

  Changed paths:
    M frontend/parrot/main.c

  Log Message:
  -----------
  [rc] Made fast runcore the default.

This should be safe, given the previous commit of dabaf8c. This gives the op
dispatch benchmark mops_intval.pasm a 27.56% performance improvement. Other
programs will show less benefit, but faster op dispatch is still a good thing.


  Commit: 89cf287a733eaf9c06c453fb6ad587cead89dd30
      https://github.com/parrot/parrot/commit/89cf287a733eaf9c06c453fb6ad587cead89dd30
  Author: chromatic <chromatic at wgz.org>
  Date:   2011-07-04 (Mon, 04 Jul 2011)

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

  Log Message:
  -----------
  [OO] Optimized Parrot_pmc_get_type_str() slightly.

Because the classname -> integer mapper is an internal implementation detail
which should never leak out of the OO subsystem, it's okay to break the VTABLE
encapsulation in this case. This provides a 2.33% performance improvement on
the OO-heavy stress1.pasm benchmark and should also help any other code which
creates objects based on string class names.

Arguably Parrot should resolve string literals to class objects at compilation
or optimization time, but that's a larger change.

As this commit includes a Makefile dependency addition, reconfigure
recommended, but not required.


Compare: https://github.com/parrot/parrot/compare/b6ba78b...89cf287


More information about the parrot-commits mailing list