EllisLab/CodeIgniter — pull request #2350 by ragboyjr (2013-03-21 15:52:58+00:00)
Title: Making a performance modification to DB_driver list_fields()

Correct me if I'm wrong, but there is no reason to put an entire row's keys into an array, and then shift it to get the first element. Using `key()` is for sure more memory and time efficient. I know it's a small change, but it doesn't hurt to have more efficient code in places especially when it's simpler to understand.