Author: petdance
Date: Wed Dec 31 08:11:06 2008
New Revision: 34708

Modified:
   trunk/src/utils.c

Log:
added notes about the COMPARE function

Modified: trunk/src/utils.c
==============================================================================
--- trunk/src/utils.c   (original)
+++ trunk/src/utils.c   Wed Dec 31 08:11:06 2008
@@ -846,6 +846,8 @@
 typedef INTVAL (*sort_func_t)(PARROT_INTERP, void *, void *);
 
 /* TODO: Macroize COMPARE */
+/* This is an awfully expensive function to call, what with all the */
+/* comparisons that never change. We ought to precompute everything. */
 static INTVAL
 COMPARE(PARROT_INTERP, ARGIN(void *a), ARGIN(void *b), ARGIN(PMC *cmp))
 {

Reply via email to