Issue 898 in moose-technology: Roassal performance with Unicode

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 898 in moose-technology: Roassal performance with Unicode

moose-technology
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 898 by [hidden email]: 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.


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 898 in moose-technology: Roassal performance with Unicode

moose-technology

Comment #1 on issue 898 by [hidden email]: Roassal performance with  
Unicode
http://code.google.com/p/moose-technology/issues/detail?id=898

Perhaps related...  
http://lists.gforge.inria.fr/pipermail/pharo-project/2011-November/055849.html

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev