Improve minimap performance
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 usebuffer->rangesForLine()
- Don't call
charColor
for every x position. Instead get color for a range and then paint it at once. One can dodrawLine()
here instead but not sure if that will be any faster