I was planning to write about it on my blog..

I was trying to make fast photoshop blend modes using canvas (specially for
the iPhone/iPad) a couple months ago:
http://labs.millermedeiros.com/js/blend_mode/  - check the comments at the
top of each file, it explains my assumptions and what really changed from
one version to another - tested many things just to identify that the real
bottleneck couldn't be optimized and that some of the optimizations were
unnecessary and some even degraded the performance...

my intention with this experiment was to prove that currently we can't have
the same functionality as this:
http://www.fborn.com/websites/casestudy/mustang/customizer/  at real-time
with the same performance as flash. (since it has native support to all the
blend modes I need) - which proven to be true, pixel-by-pixel manipulation
is slow by nature. (make sure you change the colors and change the
visualization at the bottom right to understand what the flash version is
doing)

don't try to be smarter than a computer and don't do "dumb" optimizations!
http://blog.millermedeiros.com/2010/10/the-performance-dogma/

cheers.

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to