[svn:parrot] r49264 - in branches/gc_massacre/src: . string
bacek at svn.parrot.org
bacek at svn.parrot.org
Thu Sep 23 07:42:16 UTC 2010
Author: bacek
Date: Thu Sep 23 07:42:15 2010
New Revision: 49264
URL: https://trac.parrot.org/parrot/changeset/49264
Log:
Bring files irrelvant to branch from trunk
Modified:
branches/gc_massacre/src/hash.c
branches/gc_massacre/src/string/api.c
Modified: branches/gc_massacre/src/hash.c
==============================================================================
--- branches/gc_massacre/src/hash.c Thu Sep 23 07:42:00 2010 (r49263)
+++ branches/gc_massacre/src/hash.c Thu Sep 23 07:42:15 2010 (r49264)
@@ -26,9 +26,6 @@
#include "parrot/parrot.h"
-/* the number of entries above which it's faster to hash the hashval instead of
- * looping over the used HashBuckets directly */
-
/* hash first allocation size */
#define INITIAL_SIZE 2
Modified: branches/gc_massacre/src/string/api.c
==============================================================================
--- branches/gc_massacre/src/string/api.c Thu Sep 23 07:42:00 2010 (r49263)
+++ branches/gc_massacre/src/string/api.c Thu Sep 23 07:42:15 2010 (r49264)
@@ -370,8 +370,6 @@
STRING *d;
const int is_movable = PObj_is_movable_TESTALL(s);
- /* We set COW flag to avoid cloning buffer in compact_pool */
-
d = Parrot_gc_new_string_header(interp,
PObj_get_FLAGS(s) & ~PObj_constant_FLAG);
/* This might set the constant flag again but it is the right thing
More information about the parrot-commits
mailing list