You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The modified code saves, for each element of a list, a boolean state
variable that is modified before an operation and restored afterwards.
The code was using a `List.map`, which creates a linked list with the
same length as the input list, with as many Boolean objects.
We change the code to use a BitSet instead, which needs less memory.
0 commit comments