04.10.2012, 13:44
Quote:
Good job, BlueG. But who's faster cache_get_row or cache_get_field?
|
However if you meant cache_get_field_content in comparison to cache_get_row, the latter is faster. And the more fields in the result set, the slower cache_get_field_content will get.
cache_get_row operations:
1. get the field value from the specified row from the specified field
2. return it to the PAWN vm
cache_get_field_content operations
1. search among field names in the result set and compare the field name to what the scripter entered
2. get the field value from the found row
3. return it to the PAWN vm
I wrote about it in my tutorial topic a bit as well: click.