Mailing List
Home
Forum Home
Flash Pro
Subjects
Subject: RE: Firework Effect
Web Service Results
Flash Interface with 10mb xml file
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash MX 2004 Sucks
Reading and displaying RSS feeds in Flash MX
Flash and QuickTime VR
Textfield prototype question
XML to Object help
Order of events per frame
MX2004 Dataset itemClassName
memory management removeMovieClip /
Event Dispatcher between classes
Help: MX 2004 How to script a print button to print the entire sli
ScrollPane component doesn 't auto update
setInterval bug identified and fixed
setInterval bug identified and fixed
Listener Object 's best practice
 
Flash is too slow for my app

Flash is too slow for my app

2004-03-19       - By Mario Klingemann

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

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)