#143 ✓resolved
MadRabbit

Fx.Morph faster styles processing

Reported by MadRabbit | December 23rd, 2009 @ 12:09 PM | in 1.5.2 Release

We can make the styles calculation faster, by removing prepending string from the list, coz it's always empty, something like

@@@javascript for (var i=0; i < after.length; i++) {
value = before[i] + (after[i] - before[i]) * delta; if (after.round) value = Math.round(value); after.t[i*2+1] = ''+value; } value = after.t.join('');
if (after.pre) value = after.pre + value;
style[key] = value;


Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RightJS Core Tickets

Shared Ticket Bins

People watching this ticket

Tags

Pages