Re: [webkit-dev] Move to NavigationClient

2017-10-22 Thread Alfonso Guerra
odel this design decision is based on? >From the current semantic and architectural perspectives, it sounds like it would be a mistake. Particularly merging navigation duties with policy. Not helpful to all clients. Warmest regards, Alfonso Guerra Founder/CEO Apokalypse Software Corp @Hupernik

Re: [webkit-dev] Idiom for functions with all return values in a switch case

2017-05-09 Thread Alfonso Guerra
ntedFromPla ying: return kWKAutoplayEventUserNeverPlaye dMediaPreventedFromPlaying; } } Out of curiosity, why is using a switch statement better than defining an array to hold the return values? Alfonso Guerra Founder/CEO Apokalypse Software Corp @Hupernikete

Re: [webkit-dev] Terminology for giving up ownership: take, release, move

2016-09-06 Thread Alfonso Guerra
solution provides better performance by eliminating the dereferencing of a pointer. > Naming is fun. > Learning how to communicate across cultures of all types is fun. ;-) -- Alfonso Guerra Founder/CEO Apokalypse Software Corp. (626) 667-4285 ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev

Re: [webkit-dev] Terminology for giving up ownership: take, release, move

2016-09-05 Thread Alfonso Guerra
synonym? Alfonso Guerra Founder/CEO Apokalypse Software Corp. (626) 667-4285 On Mon, Sep 5, 2016 at 7:22 PM, Maciej Stachowiak <m...@apple.com> wrote: > > On Sep 5, 2016, at 3:30 PM, Dan Bernstein <m...@apple.com> wrote: > > > On Sep 5, 2016, at 10:13 AM, Darin Ad

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 <fpi...@apple.com> wrote: > > On Nov 4, 2015, at 10:03 AM, Alfonso Guerra <hupernike...@gmail.com> > wrote: > > was ~20% faster on my machine. > > > It’s very surprising that this made any difference. Com

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*

Re: [webkit-dev] Unused parameter warnings / errors / warning fixes

2015-01-26 Thread Alfonso Guerra
On Mon, Jan 26, 2015 at 2:31 PM, Geoffrey Garen gga...@apple.com wrote: And I do agree that it can be inconvenient to deal with these warnings in heavily #ifdef’d code. I think there are some good strategies for avoiding that, and I’d like to talk about specific irritating cases so I can

Re: [webkit-dev] Is there a rule to use UNUSED_PARAM ?

2012-10-01 Thread Alfonso Guerra
It's never acceptable to use comments to hide code from the compiler, particularly when the compiler provides constructs which permit one to indicate intent (eg, ifdef and the pragma unused). On Oct 1, 2012 9:47 AM, Gyuyoung Kim gyuyo...@gmail.com wrote: Hello WebKit folks, There were build