[system] Repository:
ViewVC logotype

Revision 1249


Jump to revision: Previous Next
Author: gage
Date: Mon Jun 23 14:24:13 2003 UTC (16 years, 5 months ago)
Log Message:
Added caching code for reading PGbascimacros and PGanswermacros as well
as PG.pl, dangerousMacros and IO.pl into a cached safe compartment and
sharing the subroutines with the current safe compartment
It speeds up each problem significantly (about .2 seconds on webwork3).

Changes are required in PGbasicmacros and PGanswermacros to fix
assumptions that are not met when a file is compiled and run in
different name spaces.

The caching code is turned off by default.  It must be turned on by
by changing commenting in lines 133 to 147 in WeBWorK::PG:Local.pm
--Mike

Changed paths:

Path Details
Directorytrunk/webwork-modperl/lib/WeBWorK/PG/Local.pm modified , text changed
Directorytrunk/webwork-modperl/lib/WeBWorK/PG/Translator.pm modified , text changed
Directorytrunk/webwork2/lib/WeBWorK/PG/Local.pm modified , text changed
Directorytrunk/webwork2/lib/WeBWorK/PG/Translator.pm modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9