#20571Use 2 level cache for BEgetRootLine
Description
Now there is only a first level cache for BEgetRootLine, which is stored in a global var.
The patch
The patch
- use a static var for first level cache
- stores second level cache in cache_hash
(issue imported from #M11271)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.