﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12767	PaintColors#get() is slow.	michael2402	michael2402	"Currently, PaintColors#get() does the following for each request:
- call Preferences#getColor()
- Convert the human readable text to a peference friendly string
- Add that string to the colornames table
- Convert the default color to HTML representation
- Do the preference lookup
- Convert back to a Color object.

The main problem with this is that AreaElement#create() (calls it whenever text-position is null) and LineTextElement#create() are calling this pretty often.

I suggest adding a cache to the `PaintColors`, `ConflictColors`, `Severity` (and probably other) classes. This would also fix Severity class (colors not reloaded on preference change)."	defect	closed	minor	16.08	Core mappaint		fixed	gsoc-core	
