Sasilekha opened a new pull request, #16390: URL: https://github.com/apache/lucene/pull/16390
Addresses #16389. `AutomatonQuery#ramBytesUsed()` currently over-reports memory whenever the query is built with `isBinary=true` (the shape used by `PrefixQuery`, `TermRangeQuery`, and any caller that passes a binary `Automaton` directly). ### Fix Detect the shared reference and only add the outer automaton's bytes when `CompiledAutomaton` does not already account for it Added three cases in TestAutomatonQuery -- 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]
