Skip to content

[tree] TTreeCache is turned off when fAutoFlush == 0 #8713

@eguiraud

Description

@eguiraud

Describe the bug

Due to the logic in TTree::GetCacheAutoSize, if fAutoFlush == 0 then the size of the TTreeCache is set to 0 which in turn disables it.

However there are separate mechanisms to disable the TTreeCache if desired (e.g. TTree::SetCacheSize) and even if fAutoFlush == 0, when reading over the network, we can benefit greatly from TTreeCache's pre-fetching.

Additional context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions