xyz icon indicating copy to clipboard operation
xyz copied to clipboard

infoj_skip in layer decorator

Open dbauszus-glx opened this issue 7 months ago • 2 comments

The infoj_skip array should only processed once when the layer is decorated.

Creating a new Set on each iteration of multiple entry object properties on each iteration of every entry in the infoj is incredibly resource wasteful.

The uncommented negated array check in the filters panel lookup is hard to understand test or maintain.

It is much easier to set a flag in the infoj_array based on inclusion in the infoj_array which must a be an array and therefore supports the array.includes method.

dbauszus-glx avatar Jul 08 '24 15:07 dbauszus-glx