Line wraps and rendering performance

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark

Locked
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Line wraps and rendering performance

Post by FourthWorld » Sat Mar 07, 2015 4:21 pm

While helping a user diagnose an issue with slow performance of field rendering with large amounts of data (see one post in that thread here: http://lists.runrev.com/pipermail/use-l ... 12246.html ), I wanted to compare LC's performance with Apple's TextEdit and made an interesting discovery:

TextEdit doesn't even attempt to calculate line wraps during resize, instead deferring that until the end of resize after the mouse is released.

Could there be benefit to considering a new field property for deferred line wrap?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm
Location: NE USA

Re: Line wraps and rendering performance

Post by WaltBrown » Tue Mar 10, 2015 2:02 am

Has anyone done that in a tablet or phone? I imaging going from landscape to portrait would incur a similar penalty, if you are resizing fields.
Walt Brown
Omnis traductor traditor

Locked

Return to “Engine Contributors”