Re: cvs: pecl /xdiff CREDITS config.m4 php_xdiff.h xdiff.c xdiff.php
| From: | Andi Gutmans | Date: | Thu, 25 Dec 2003 11:29:32 +0000 |
| Subject: | Re: cvs: pecl /xdiff CREDITS config.m4 php_xdiff.h xdiff.c xdiff.php | ||
| References: | 1 2 3 | Groups: | php.pecl.cvs |
| Request: | Send a blank email to pecl-cvs+get-627@lists.php.net to get a copy of this message | ||
At 12:26 PM 12/25/2003 +0100, Marcin Gibula wrote:
If he supports streams, isn't using files as parameters good enough? I don't really see anyone manually building diffs. Then again, I do see your point. I'm indifferent although we should give a way to easily support the general 99% case of using files. Is it worth having two sets of functions, for strings and for files? I think I've raised more questions than answers because I'm not sure myself. Well, that was my problem too... You see, there are many situations where using strings instead of files is simply better, consider managing articles in some php-based cms, to view differences online using strings is simply better (no temp files is needed). On the other hand, this is very, very bad when diffs are getting large and storing them in memory is problematic. Maybe there should be normal and _files functions indeed...Okay makes sense. Andi