pjfanning opened a new pull request, #1272:
URL: https://github.com/apache/poi/pull/1272

   `OperationEvaluationContext.getRefEvaluatorForCurrentSheet()` allocated a 
new `SheetRefEvaluator` and `SheetRangeEvaluator` on every call, i.e. for every 
cell/area reference resolved while evaluating a formula. Both objects only 
depend on the context's final fields (`_bookEvaluator`, `_tracker`, 
`_sheetIndex`), so they are now created lazily once per context and reused.
   
   Small allocation saving on every formula evaluation; no behaviour change. 
`ss.formula` tests pass locally.
   
   Extracted from #1271 (see discussion there).
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to