Skip navigation.
Home

Add new comment

Underneath all the obfuscated code is the ugliest database engine. Note that its select function opens a file, parses each line searching for the passed key and returns the rest of the line or a default value back. (And has no way of returning multiple rows.) C'mon, classes were made for keeping file handles open, or chunks of data in memory. Here the best you can do is hope for a good disk cache. Imagine how the performance of this thing would drag when the reports became more than a few trivial lines.

Reply




*

  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <p> <br>
  • Web and e-mail addresses are automatically converted into links.