|
Posted by Onideus Mad Hatter on 01/24/07 11:33
On Wed, 24 Jan 2007 21:12:59 +1100, "Jeckyl" <noone@nowhere.com>
wrote:
>> Well it works, Cupcake, but yer only getting a speed gain of about 2
>> seconds. WOW, boy THAT sure was a waste of my time.
>
>There must be a fair bit else going on (assuming 2 seconds is not
>significant) .. I might have a little look at your decompiled code. I want
>to see why you have so MANY copies of the same code in your movie .. maybe
>there's some other optimization that can be done to speed the whole thing
>up.
Not really, there are a whole variety of code limitations, at least in
SwishMax as far as like how many functions you can have per
sprite/scene. That's why I had to break it apart into 11 different
sprites. It also has to be broken up on the frame level (which is
most likely adversely affecting the speed) in order to get the save
progress meter to work. If there is some other way of doing I've
never seen it. I did a LOT of experimentation on it though and what I
got is the best I was able to find. Most of the other methods I tried
resulted in time outs, browser lockups and browser crashes.
>> my method with CASE instead of IF next and see what that gets me.
>Its certain not to be faster (as its the same amount of work as the
>hex-convert-plus-if-statement logic, which was much slower than my method).
>.. but it will at least handle cases like when red component is 0 etc.
What's slowing it down though isn't the calculation (really my method
doesn't really have any calculation so much), it's the IF statements,
which run so damn slow. CASE statements process a lot faster (as far
as I know) which is why it should have a significant impact on the
overall speed...but that's provided that the speed limitations aren't
a result of the frame level processing. I might try increasing the
frame rate of the SWF file and see what effect it has.
>> After that I think I'll try and see if I can get the
>> ByteArray.compress() method to work...although I haven't been able to
>> find any specific (in use) documentation or examples of it yet.
>I've not done anything with that myself either, so I can offer no advice or
>suggestions.
Yeah apparently no one else has either. Everyone keeps linking to
this one blog entry about it though and talking about how awesome it
is. I found one live example site that's supposedly using
it...although I'm not sure if they implemented it as well as they
could have because it's only about twice as fast as the method I'm
currently using, so that's still pretty slow.
--
Onideus Mad Hatter
mhm ¹ x ¹
http://www.backwater-productions.net
http://www.backwater-productions.net/hatter-blog
Hatter Quotes
-------------
"You're only one of the best if you're striving to become one of the
best."
"I didn't make reality, Sunshine, I just verbally bitch slapped you
with it."
"I'm not a professional, I'm an artist."
"Your Usenet blinders are my best friend."
"Usenet Filters - Learn to shut yourself the fuck up!"
"Drugs killed Jesus you know...oh wait, no, that was the Jews, my
bad."
"There are clingy things in the grass...burrs 'n such...mmmm..."
"The more I learn the more I'm killing my idols."
"Is it wrong to incur and then use the hate ridden, vengeful stupidity
of complete strangers in random Usenet froups to further my art?"
"Freedom is only a concept, like race it's merely a social construct
that doesn't really exist outside of your ability to convince others
of its relevancy."
"Next time slow up a lil, then maybe you won't jump the gun and start
creamin yer panties before it's time to pop the champagne proper."
"Reality is directly proportionate to how creative you are."
"People are pretty fucking high on themselves if they think that
they're just born with a soul. *snicker*...yeah, like they're just
givin em out for free."
"Quible, quible said the Hare. Quite a lot of quibling...everywhere.
So the Hare took a long stare and decided at best, to leave the rest,
to their merry little mess."
"There's a difference between 'bad' and 'so earth shatteringly
horrible it makes the angels scream in terror as they violently rip
their heads off, their blood spraying into the faces of a thousand
sweet innocent horrified children, who will forever have the terrible
images burned into their tiny little minds'."
"How sad that you're such a poor judge of style that you can't even
properly gauge the artistic worth of your own efforts."
"Those who record history are those who control history."
"I am the living embodiment of hell itself in all its tormentive rage,
endless suffering, unfathomable pain and unending horror...but you
don't get sent to me...I come for you."
"Ideally in a fight I'd want a BGM-109A with a W80 250 kiloton
tactical thermonuclear fusion based war head."
"Tell me, would you describe yourself more as a process or a
function?"
"Apparently this group has got the market cornered on stupid.
Intelligence is down 137 points across the board and the forecast
indicates an increase in Webtv users."
"Is my .sig delimiter broken? Really? You're sure? Awww,
gee...that's too bad...for YOU!" `, )
[Back to original message]
|