Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 898 by benjamin...(a)gmail.com: Roassal performance with Unicode
http://code.google.com/p/moose-technology/issues/detail?id=898
In my application I need to display polar notation complex numbers in
Roassal.
This notation uses the angle ∠ symbol
(
http://www.fileformat.info/info/unicode/char/2220/index.htm)
Using this there is a noticeable performance drop/lag when using this
unicode character, as demonstrated by the sample below.
Specifically, dragging with a non-Unicode element is instantaneous. The
element immediately follows the hardware cursor and even when moving the
mouse suddenly-and-at-speed it is hard force any space between the element
and the hardware cursor.
When dragging a Unicode element, the hardware cursor easily makes it to the
other side of the window before the element moves.
--------------------
rawView := ROView new.
10 timesRepeat: [ rawView add: (ROLabel elementOn: '22#22') @ RODraggable.
].
rawView open.
rawView := ROView new.
10 timesRepeat: [ rawView add: (ROLabel elementOn: '33', Character angle
asString, '33') @ RODraggable. ].
rawView open
-------------
Character>>angle
"The ANGLE symbol '∠' U+2220, from Unicode version 1.1
ISO/IEC-10646-1:1993"
"One font family that contains this character is DejaVu"
^ Unicode value: 16r2220
-----
Further, changing this to 100 times locks the image for about 30 seconds
before either "Roassal Visualization" window is displayed. If you then drop
the System Browser over the top of the Roassal-Unicode window, it
introduces a noticeable lag when moving the System Browser away.
Is there anything obvious/quick that can be done to improve this
performance - otherwise for now I'll just have to drop this nice-to-have
symbol.
However in the broader context of Roassal internationalization, this might
be an important issue.