How to speed up the selection of arrays for reading?

Hello.
In the reader, I use vtkDataArraySelection and the following xml description: arrays_selection.xml (943 Bytes)
vtkDataArraySelection contains 10k array names and I want to mark 1k of them for reading. This action, which only marks the array names as “true”, takes more than 15 minutes.
What am I doing wrong? How to speed up the selection of arrays for reading?
Thanks in advance.

Which action is taking 15 minutes ? Setting the property ? When you click on Apply ?

Before clicking the “Apply” button of course. 15 minutes is the time it took to switch on the checkboxes. This is the time between steps 2 and 3 (see pictures)


Clearly, the typical number of Arrays is more in the dozen, not in the thousands. In the context of developing a plugin, you may be able to develop your own domain using a more efficient algo.