Bug 61136 - [PATCH] Improve Common SS formula evaluation speed by implementing lazy evaluation
Summary: [PATCH] Improve Common SS formula evaluation speed by implementing lazy evalu...
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: SS Common (show other bugs)
Version: 3.17-dev
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2017-05-31 04:38 UTC by Javen O'Neal
Modified: 2023-03-11 15:54 UTC (History)
0 users



Attachments
Lazy evaluation for Formula.java (5.22 KB, patch)
2017-05-31 04:38 UTC, Javen O'Neal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.