Re: [webkit-dev] Proposal for serializing alpha channel values; request for algorithm help

2015-11-04 Thread Filip Pizlo
> On Nov 4, 2015, at 1:43 PM, Alfonso Guerra wrote: > > > > On Wed, Nov 4, 2015 at 1:22 PM, Filip Pizlo > wrote: > >> On Nov 4, 2015, at 10:03 AM, Alfonso Guerra > >

Re: [webkit-dev] Proposal for serializing alpha channel values; request for algorithm help

2015-11-04 Thread Alfonso Guerra
On Wed, Nov 4, 2015 at 1:22 PM, Filip Pizlo wrote: > > On Nov 4, 2015, at 10:03 AM, Alfonso Guerra > wrote: > > was ~20% faster on my machine. > > > It’s very surprising that this made any difference. Compilers are > ordinarily smart enough to

[webkit-dev] Implementing Web Animations

2015-11-04 Thread Nikos Andronikos
Hi all, Myself and a colleague are going to make a start on implementing Web Animations. The current plan, after chatting to Dean at TPAC, will be to implement the web animations model as a new module, with a runtime flag for switching CSS and SVG animations over to use the new model. After

Re: [webkit-dev] Proposal for serializing alpha channel values; request for algorithm help

2015-11-04 Thread Filip Pizlo
> On Nov 4, 2015, at 10:03 AM, Alfonso Guerra wrote: > > Gavin, > > That's impressive problem-solving and analytical work. > > However, for performance reasons the pre-increment (and pre-decrement) > operators are preferable unless one actually needs to obtain a

Re: [webkit-dev] Proposal for serializing alpha channel values; request for algorithm help

2015-11-04 Thread Alfonso Guerra
Gavin, That's impressive problem-solving and analytical work. However, for performance reasons the pre-increment (and pre-decrement) operators are preferable unless one actually needs to obtain a variable's value before updating it. void fasterUnsignedCharToFloatString(unsigned char uc, char*