2009-10-20, 01:23 PM
For a php-script, would it be faster to load another .php instead of loading data from a database? Data doesn't have to be secured, it just have to be loaded fast. It's going to be a double-"array" like this:
What would be the best is to have this data accessible at any given time, i.e. it's saved within the memory at any given time. Any way to do that?
Noah
Code:
$lst = new Array("New York" => new Array("Los Angeles" => 3944, "Jacksonville" => 1362),
"Los Angeles" => new Array("New York" => 3944, "Jacksonville" => 3463),
"Jacksonville" => new Array("New York" => 1362, "Los Angeles" => 3463));
Spoiler
What would be the best is to have this data accessible at any given time, i.e. it's saved within the memory at any given time. Any way to do that?
Noah

