Skip to content

Improve minimap performance

Waqar Ahmed requested to merge work/minimap-perf2 into master

This change builds upon the previous and includes the following changes to improve performance:

  • Don't do renderer->decorationsForLine(). Very expensive and not useful for us. Instead use buffer->rangesForLine()
  • Don't call charColor for every x position. Instead get color for a range and then paint it at once. One can do drawLine() here instead but not sure if that will be any faster

Merge request reports