factorizing pgsql code
| From: | Sascha Schumann | Date: | Sun, 21 Apr 2002 02:44:37 +0000 |
| Subject: | factorizing pgsql code | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-83080@lists.php.net to get a copy of this message | ||
Here is a patch which aims at reducing the redundant code in
pgsql.c (-685, +211 lines).
http://apache.org/~sascha/pgsql.diff
It also significantly reduces the number of memcpy's,
sprintf's and so on and immensily improves readability of the
affected parts of the code.
Comments are welcome .. I have not yet run it through a
compiler, so YMMV.
- Sascha Experience IRCG
http://schumann.cx/ http://schumann.cx/ircg