Slow performance of TextEditor in Release build

I have a simple application which brings up a window containing one read only TextEditor and a read/write single line TextEditor. The Debug build is slow but the Release build is also very sluggish! Resizing the window doesn’t have the snappy feel that it should have. This is on Windows (not sure about Mac).

You can get the project and build it - it has no external dependencies (and there’s a Jucer file):

[size=150]LuaBridge Demo[/size]