[LON-CAPA-cvs] cvs: loncom /interface/spreadsheet Spreadsheet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 13 May 2005 21:16:09 -0000


albertel		Fri May 13 17:16:09 2005 EDT

  Modified files:              
    /loncom/interface/spreadsheet	Spreadsheet.pm 
  Log:
  - @os and $f seem to be unused, commenting them out for now (save 0.03 seconds on the student level sheet)
  
  
Index: loncom/interface/spreadsheet/Spreadsheet.pm
diff -u loncom/interface/spreadsheet/Spreadsheet.pm:1.46 loncom/interface/spreadsheet/Spreadsheet.pm:1.47
--- loncom/interface/spreadsheet/Spreadsheet.pm:1.46	Fri May 13 17:14:46 2005
+++ loncom/interface/spreadsheet/Spreadsheet.pm	Fri May 13 17:16:09 2005
@@ -1,5 +1,5 @@
 #
-# $Id: Spreadsheet.pm,v 1.46 2005/05/13 21:14:46 albertel Exp $
+# $Id: Spreadsheet.pm,v 1.47 2005/05/13 21:16:09 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -922,11 +922,11 @@
 sub sync_safe_space {
     my $self = shift;
     # Inside the safe space 'formulas' has a diabolical alter-ego named 'f'.
-    %{$self->{'safe'}->varglob('f')}=%{$self->{'formulas'}};
+    #%{$self->{'safe'}->varglob('f')}=%{$self->{'formulas'}};
     # 'constants' leads a peaceful hidden life of 'c'.
     %{$self->{'safe'}->varglob('c')}=%{$self->{'constants'}};
     # 'othersheets' hides as 'os', a disguise few can penetrate.
-    @{$self->{'safe'}->varglob('os')}=@{$self->{'othersheets'}};
+    #@{$self->{'safe'}->varglob('os')}=@{$self->{'othersheets'}};
 }
 
 ##