Project: Birt
Bug 223320 Compiled script cache for IReportContext.evaluate()
Reported: 2008-03-20 05:00:48 | Status: resolved fixed

Script expression should be cached or directly delegate to ScriptContext.evaluate(String) when call IReportContext.evaluate(String). Currently, each time IReportContext will create a new script expression object and do compile, which cause very bad performance in big iteration.

Files changed in fix:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ReportContextImpl.java