[svn:parrot] r48878 - branches/hash_inlined_func/src
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Thu Sep 9 06:36:16 UTC 2010
Author: chromatic
Date: Thu Sep 9 06:36:15 2010
New Revision: 48878
URL: https://trac.parrot.org/parrot/changeset/48878
Log:
[hash] Optimized parrot_hash_mark().
This improves Rakudo performance by some 1.4%, and should have similar nice
effects for any GC-heavy code.
Modified:
branches/hash_inlined_func/src/hash.c
Modified: branches/hash_inlined_func/src/hash.c
==============================================================================
--- branches/hash_inlined_func/src/hash.c Thu Sep 9 02:49:19 2010 (r48877)
+++ branches/hash_inlined_func/src/hash.c Thu Sep 9 06:36:15 2010 (r48878)
@@ -629,7 +629,7 @@
ASSERT_ARGS(parrot_mark_hash_both)
if ((hash->key_type == Hash_key_type_STRING
- || hash->key_type == Hash_key_type_STRING_enc)
+ || hash->key_type == Hash_key_type_STRING_enc)
&& hash->entry_type == (PARROT_DATA_TYPE) enum_hash_pmc) {
parrot_hash_iterate(hash,
PARROT_ASSERT(_bucket->key);
More information about the parrot-commits
mailing list