[svn:parrot] r48275 - trunk/src
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Tue Aug 3 05:31:36 UTC 2010
Author: chromatic
Date: Tue Aug 3 05:31:35 2010
New Revision: 48275
URL: https://trac.parrot.org/parrot/changeset/48275
Log:
[hash] Used more get_hash_val().
This improves Rakudo startup by another 1.29%.
Modified:
trunk/src/hash.c
Modified: trunk/src/hash.c
==============================================================================
--- trunk/src/hash.c Tue Aug 3 05:31:33 2010 (r48274)
+++ trunk/src/hash.c Tue Aug 3 05:31:35 2010 (r48275)
@@ -897,7 +897,7 @@
while ((b = *next_p) != NULL) {
/* rehash the bucket */
const size_t new_loc =
- (hash->hash_val)(interp, b->key, hash->seed) & (new_size - 1);
+ get_hash_val(interp, hash, b->key) & (new_size - 1);
if (i != new_loc) {
*next_p = b->next;
More information about the parrot-commits
mailing list