  | | | Flash is too slow for my app | Flash is too slow for my app 2004-03-19 - By Mario Klingemann
Back Maybe you should think about using a different data structure. Perhaps a linked list would solve this problem more elegant:
You start with a array of keys that are allowed for the first key, each of these keys contains a list of the keys that are allowed to follow, and these contain the 3rd possibility plus the unicode result. This also works with two-key combinations (or even one-key).
The benefit is that it will reduce the amount of neccesary lookups a lot - I guess.
Mario c?deazur
-- -- Original Message -- -- From: "Dominico Savio" <dominicosavio@(protected)> To: <flashcoders@(protected)> Sent: Friday, March 19, 2004 3:25 PM Subject: [Flashcoders] Flash is too slow for my app
> I create a non English typing app. it converts a > combination of keystrokes to non-latin character. It > works fine but the user mustn't type fast (more than > 60wpm). > > I wonder if anyone has created that kind of app > before? I would like to know if they have the same > problem like I do now. > > here is the as file: http://www.vnfx.com/vietkey.as, > if anyone interesting in optimizing it :) > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > Supported by Fig Leaf Software > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > Be sure to check the archives and the wiki: > http://chattyfig.figleaf.com/ > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107434 > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > To unsubscribe send a blank e-mail to: > Normal Mode: flashcoders-unsubscribe@(protected) > Digest Mode: flashcoders-digest-unsubscrive@(protected) > >
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107472 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |