Handwritten Text Recognition for manuscripts and early printed texts
Queue N Cache
1. Queue N Cache
by Aaron Hardy at 360|Flex 2010
view demos and code at AaronHardy.com
2. HELLO my name is
Aaron Hardy
Aaron Hardy aaronhardy.com
3. Extending Flex
Flex was written from day one to be an
open, extensible framework…Don’t like the
way Image behaves? Write your own Image
tag! Get enough people doing that, and
there’ll soon be a wealth of new and
improved frameworks and components out
there for everyone to choose from.
- Ely Greenfield
Aaron Hardy aaronhardy.com
31. Pros N Cons of Queuing
Pros
• Prioritizability
• Retryability
Cons
• Overhead
• Complexity
• Possible underutilization of server resources
Aaron Hardy aaronhardy.com
39. Compressed vs. Uncompressed
1 JPG at 1200x900 = 152 KB
21 JPG x 152 KB = 3.1 MB
1 BitmapData at 1200x900 = 1,080,000 pixels * 4 bytes = 4.1 MB
21 BitmapData x 4.1 MB = 86.1 MB
BitmapData 27 times larger than JPG
(numbers are from test app and are only approximates)
Aaron Hardy aaronhardy.com
42. Locality of Reference
Temporal Locality:
A phenomenon in computer science
that states that if a value is referenced,
there is a high probability it will be
referenced again soon.
- Wikipedia
Aaron Hardy aaronhardy.com
53. Pros N Cons of Manual Caching
Pros
• Sharing of bitmap data (less memory usage)
• Faster bitmap re-access
Cons
• Overhead
• Complexity
• Possible use of more memory than necessary
Aaron Hardy aaronhardy.com