Re: [PECL-DEV] New extension proposal (geohash)

2017-09-08 Thread Remi Collet
Le 07/09/2017 à 23:43, Emir Beganović a écrit : > Hi, > > I'd like to propose a new extension named geohash, that brings geohash > encoding and decoding functionality. There is a significant performance > gain from using this extension compared to user-land libraries. > > The extension is

Re: [PECL-DEV] New extension proposal (geohash)

2017-09-08 Thread Johannes Schlüter
Hi, > I'd like to propose a new extension named geohash, that brings > geohash on a quick review this looks good. Two small comments:   hash = (char*)emalloc(sizeof(char) * (precision + 1)); this might overflow. Better use safe_emalloc which calculates the buffer size in an overflow-safe way.

[PECL-DEV] [ANNOUNCEMENT] parle-0.5.1 (alpha) Released.

2017-09-08 Thread PECL Announce
The new PECL package parle-0.5.1 (alpha) has been released at http://pecl.php.net/. Release notes - - initial release Package Info - With Parle, it is possible to implement lexing and parsing in PHP while relying on features and principles of the parser/lexer generator