RE: [PHP-DEV] Lazy keys comparison during hash lookups

2016-04-29 Thread Andone, Bogdan
> -Original Message- > From: Matt Wilmas [mailto:php_li...@realplain.com] > Sent: Wednesday, April 27, 2016 5:44 PM > To: Andone, Bogdan ; 'Nikita Popov' > > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Lazy keys comparison during h

Re: [PHP-DEV] Lazy keys comparison during hash lookups

2016-04-27 Thread Matt Wilmas
: RE: [PHP-DEV] Lazy keys comparison during hash lookups > -Original Message- > From: Andone, Bogdan [mailto:bogdan.and...@intel.com] > Sent: Wednesday, March 09, 2016 9:33 AM > To: 'Nikita Popov' > Cc: internals@lists.php.net > Subject: RE: [P

RE: [PHP-DEV] Lazy keys comparison during hash lookups

2016-04-25 Thread Andone, Bogdan
> -Original Message- > From: Andone, Bogdan [mailto:bogdan.and...@intel.com] > Sent: Friday, March 18, 2016 11:58 AM > To: 'Nikita Popov' > Cc: internals@lists.php.net > Subject: RE: [PHP-DEV] Lazy keys comparison during hash lookups > > > -O

RE: [PHP-DEV] Lazy keys comparison during hash lookups

2016-03-18 Thread Andone, Bogdan
> -Original Message- > From: Andone, Bogdan [mailto:bogdan.and...@intel.com] > Sent: Wednesday, March 09, 2016 9:33 AM > To: 'Nikita Popov' > Cc: internals@lists.php.net > Subject: RE: [PHP-DEV] Lazy keys comparison during hash lookups > > > &g

RE: [PHP-DEV] Lazy keys comparison during hash lookups

2016-03-08 Thread Andone, Bogdan
> -Original Message- > From: Andone, Bogdan [mailto:bogdan.and...@intel.com] > Sent: Tuesday, March 08, 2016 4:19 PM > To: 'Nikita Popov' > Cc: internals@lists.php.net > Subject: RE: [PHP-DEV] Lazy keys comparison during hash lookups > > > From: Niki

RE: [PHP-DEV] Lazy keys comparison during hash lookups

2016-03-08 Thread Andone, Bogdan
> From: Nikita Popov [mailto:nikita@gmail.com] > Sent: Tuesday, March 08, 2016 3:43 PM > To: Andone, Bogdan > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Lazy keys comparison during hash lookups > >On Tue, Mar 8, 2016 at 2:18 PM, Nikita Popov wrote: > >&g

Re: [PHP-DEV] Lazy keys comparison during hash lookups

2016-03-08 Thread Nikita Popov
On Tue, Mar 8, 2016 at 2:18 PM, Nikita Popov wrote: > On Tue, Mar 8, 2016 at 2:01 PM, Andone, Bogdan > wrote: > >> Hi Guys, >> >> I would like to propose a small change into the DJBX33A hash function >> algorithm which will make easier the key matching validations in hash >> lookup functions. >>

Re: [PHP-DEV] Lazy keys comparison during hash lookups

2016-03-08 Thread Nikita Popov
On Tue, Mar 8, 2016 at 2:01 PM, Andone, Bogdan wrote: > Hi Guys, > > I would like to propose a small change into the DJBX33A hash function > algorithm which will make easier the key matching validations in hash > lookup functions. > > The change addresses the modulo 8 tailing bytes of the key. Fo

[PHP-DEV] Lazy keys comparison during hash lookups

2016-03-08 Thread Andone, Bogdan
Hi Guys, I would like to propose a small change into the DJBX33A hash function algorithm which will make easier the key matching validations in hash lookup functions. The change addresses the modulo 8 tailing bytes of the key. For these bytes we can use an 8 bit shift instead of a 5 bit shift;