We load lots of the same thing in OptionRows. Instead of loading each one
individually, just load one and copy it for the rest; this avoids doing the whole "search, read redir, find refcounted" code path for every option. Don't load data from OptionRow::AfterImportOptions.
This commit is contained in:
@@ -12,6 +12,7 @@ class OptionsCursor : public ActorFrame
|
||||
{
|
||||
public:
|
||||
OptionsCursor();
|
||||
OptionsCursor( const OptionsCursor &cpy );
|
||||
|
||||
enum Element { cursor, underline };
|
||||
void Load( CString sType, Element elem );
|
||||
|
||||
Reference in New Issue
Block a user