Skip to content

Improves performance on MR refactor and adds specs

Filipa Lacerda requested to merge 48825-performance into master

What does this MR do?

  • Improves performance of mr code, by fixing the state being mutated outside of the store in the util function trimFirstCharOfLineContent and in map operations.
  • Avoids map operation in an empty array.
  • Adds specs to the trimFirstCharOfLineContent function, there were none.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #48825 (closed)

Edited by Filipa Lacerda

Merge request reports

Loading