[svn:parrot] r49030 - trunk/src/pmc

plobsing at svn.parrot.org plobsing at svn.parrot.org
Thu Sep 16 02:38:57 UTC 2010


Author: plobsing
Date: Thu Sep 16 02:38:56 2010
New Revision: 49030
URL: https://trac.parrot.org/parrot/changeset/49030

Log:
remove useless default.{freeze,thaw} calls
eliminates 67% of unused hash creation in parrot startup

Modified:
   trunk/src/pmc/hash.pmc

Modified: trunk/src/pmc/hash.pmc
==============================================================================
--- trunk/src/pmc/hash.pmc	Thu Sep 16 00:33:01 2010	(r49029)
+++ trunk/src/pmc/hash.pmc	Thu Sep 16 02:38:56 2010	(r49030)
@@ -1189,7 +1189,6 @@
 */
 
     VTABLE void freeze(PMC *info) {
-        SUPER(info);
         Parrot_hash_freeze(INTERP, (Hash *)SELF.get_pointer(), info);
     }
 
@@ -1204,7 +1203,6 @@
 */
 
     VTABLE void thaw(PMC *info) {
-        SUPER(info);
         SELF.set_pointer((void *)Parrot_hash_thaw(INTERP, info));
     }
 }


More information about the parrot-commits mailing list