Skip to content

Convert more flag-type arrays to use BitSets #5931

@canova

Description

@canova

I was reviewing #5916 which was starting to use BitSets for the shouldKeepStack array. Then I thought we could audit more places and see if there are other places that we can switch to it.

So far I noticed 3 places:

  • stackContainsFunc in dropFunction transform
  • isInCollapsedSubtree in collapseFunctionSubtree transform
  • ancestorOfCallNodeContainsFuncToCheck in funcHasRecursiveCall

I didn't check fully but I think it would be nice to start with them and then convert more if we think there are more.

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

Labels

code maintenanceIssues that are not user facing, but are related the technical debt with the code itselfdata transformCall tree transformations, e.g. Merge Function, Focus function

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions