Codeblocked: An Adventure in Slow Code

Yazan: dp | 16 December 2009 | No Comments
Categories: Software

It’s amazing how much content a company can add in a year, especially when that company writes articles for it’s living. A year and a half ago, I wrote this code against Sphinx: $cl = new SphinxClient (); $res = $cl->Query ( $q, $index ); foreach ( $res["matches"] as $docinfo ) { $excerpt = $cl->BuildExcerpts(array($contents), [...]

It's Already Been...