Author: Whiteknight
Date: Sat Dec 6 08:50:32 2008
New Revision: 33569
Modified:
trunk/src/gc/smallobject.c
Log:
[src/gc] add a small comment to smallobject.c that isn't worth pursuing now.
Modified: trunk/src/gc/smallobject.c
==============================================================================
--- trunk/src/gc/smallobject.c (original)
+++ trunk/src/gc/smallobject.c Sat Dec 6 08:50:32 2008
@@ -133,7 +133,10 @@
Small_Object_Pool * const pool = interp->arena_base->constant_pmc_pool;
const int c = contained_in_pool(pool, pmc);
- /* some paranoia first */
+ /* some paranoia first. */
+ /* I wonder if it would save any machine cycles to write
+ !(PObj_constant_TEST(pmc) ^ c)
+ instead. */
PARROT_ASSERT(!!PObj_constant_TEST(pmc) == !!c);
return c;