develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34708 - trunk/src

From:
petdance
Date:
December 31, 2008 08:11
Subject:
[svn:parrot] r34708 - trunk/src
Message ID:
20081231161106.DE0B6CB9FA@x12.develooper.com
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))
 {



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About