Bug 61136

Summary: Improve Common SS formula evaluation speed by implementing lazy evaluation
Product: POI Reporter: Javen O'Neal <onealj>
Component: SS CommonAssignee: POI Developers List <dev>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 3.17-dev   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Lazy evaluation for Formula.java

Description Javen O'Neal 2017-05-31 04:38:33 UTC
Created attachment 35014 [details]
Lazy evaluation for Formula.java

Travis from the dev list suggested a speed improvement for formula evaluation by reducing the number of byte to object and object to byte conversions performed in o.a.p.ss.formula.Formula.

We can use lazy evaluation here to avoid unused conversions between byte[] encodedBytes and Ptg[] ptgs.