Debuggable Blog: XPath on PHP Arrays (Set::extract)

Courtesy PHPDeveloper.org  Fri, 09/26/2008 - 10:25

On the Debuggable blog there's an interesting post where Felix talks a bit about something I've seen requested quite a bit - a method for locating information in an array.

His answer is an XPath-style query system to root out your custom information.

One of the requirements [of the original Set::extract method] was that the new method would need to be faster or at least as fast as the old implementation.

My first attempts were big failures....


 

More related items

SanDisk Claims Hundredfold Speed Boost for Flash
OSNews: "Instead of resorting to things like delaying all writes until shutdown and storing them in RAM, SanDisk claims it has a better option. At WinHEC yesterday, the company introduced its...

Comcastic P4P Trial Shows 80% Speed Boost for P2P...
Comcast engineers have just released the first-ever real-world data on P4P technology—and it appears to be a massive success. While only a trial, the results do show that P4P's iTracker...

Site News: Blast from the Past - One Year Ago in PHP
Here's what was popular in the PHP community one year ago today:IBM developerWorks: Get started with Project Zero and PHP Community News: Delphi for PHP Updated - Version 2 HowTo Forge:...

Linksys USBHUB4C ProConnect Compact USB 4-Port Hub
Specially designed for PCs equipped with a USB port, the Compact USB 4-Port Hub from Linksys offers instant connectivity for up to four USB devices. Plug in peripherals like digital cameras,...

Wikinomics: How Mass Collaboration Changes Everything
An updated edition of the national bestseller—now with a new introduction and a new chapter Today, encyclopedias, jetliners, operating systems, mutual funds, and many other items are being...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com