[LON-CAPA-cvs] cvs: loncom /homework default_homework.lcpm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 02 Oct 2006 18:23:39 -0000
albertel Mon Oct 2 14:23:39 2006 EDT
Modified files:
/loncom/homework default_homework.lcpm
Log:
- saving some notes for future speed up possiblities
Index: loncom/homework/default_homework.lcpm
diff -u loncom/homework/default_homework.lcpm:1.117 loncom/homework/default_homework.lcpm:1.118
--- loncom/homework/default_homework.lcpm:1.117 Fri Sep 29 19:10:22 2006
+++ loncom/homework/default_homework.lcpm Mon Oct 2 14:23:38 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# used by lonxml::xmlparse() as input variable $safeinit to Apache::run::run()
#
-# $Id: default_homework.lcpm,v 1.117 2006/09/29 23:10:22 albertel Exp $
+# $Id: default_homework.lcpm,v 1.118 2006/10/02 18:23:38 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -356,6 +356,14 @@
&init_permutation(scalar(@responselist),
$LONCAPA::CAPAresponse_answer->{'type'});
+ # possible FIXMEs
+ # - significant time is spent calling non-safe space routine
+ # from safe space
+ # - early outs could be possible with classifying awards is to stratas
+ # and stopping as so as hitting the top strata
+ # - some early outs also might be possible with check ing the
+ # memoized hash of results (is correct even possible? etc.)
+
my (@final_awards,@final_msg);
while( &get_permutations_left() ) {
my $order = &get_next_permutation();