Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29398 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80548 invoked by uid 1010); 10 May 2007 22:37:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80533 invoked from network); 10 May 2007 22:37:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 May 2007 22:37:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:3171] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7B/19-20961-29E93464 for ; Thu, 10 May 2007 18:37:08 -0400 Received: (qmail 71423 invoked by uid 98); 10 May 2007 22:37:07 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/3225. Clear:RC:1(127.0.0.1):. Processed in 0.084231 secs); 10 May 2007 22:37:07 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 10 May 2007 22:37:07 -0000 Received: from 216.230.84.67 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Thu, 10 May 2007 17:37:07 -0500 (CDT) Message-ID: <41966.216.230.84.67.1178836627.squirrel@www.l-i-e.com> In-Reply-To: <46420C3A.5000204@dealnews.com> References: <4641D92C.4050208@dealnews.com> <36665.216.230.84.67.1178732779.squirrel@www.l-i-e.com> <46420C3A.5000204@dealnews.com> Date: Thu, 10 May 2007 17:37:07 -0500 (CDT) To: "Brian Moon" Cc: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Tree sort in C From: ceo@l-i-e.com ("Richard Lynch") On Wed, May 9, 2007 1:00 pm, Brian Moon wrote: > Richard Lynch wrote: >> Seems like you could just make it a custom extension and see if >> people >> use it a lot... >> >> Even if you just had every phorum user asking for it, that would >> drive >> a lot of interest, no? > > Well, making a custom Phorum extension is a whole other discussion for > our team to have. If we went down that road, we would do more than > just > this function. And with this function in the core or not, we may > still > do that at some point. > > My point for wanting it in PHP is that I have used a tree sorting > algorithm OUTSIDE of Phorum a lot in my 10 years of PHP coding. There > are many many uses outside of Phorum for such a function IMO. My point is that the path to getting anything into core might be to release a generalized extension that, for your purposes, would be almost as good as having it in core in the short term. Long-term, one of these happens: The extension either "grows" into a full-blow extension with more tree/graph functions, and everybody installs it because it's so useful, which is as good as having it in core. The extension doesn't grow, but the function is found useful in all the circumstances you predict and it is absorbed into core, as a 1-function extension is kinda silly. It turns out, maybe, that it's not as generally needed as you think, and you just have a custom extension, which you start adding phorum/specific stuff to that optimizes phorum when it's present. The whole PECL thing goes doesn in flames because ISPs (still) won't install anything that's not in "core" from ./configure line. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?