missing-score
11-01-2003, 12:50 AM
ok, im writing a big script for my own site and also for someone else's site, and im trying to make it as fast as possible. It has a template system, and currently uses 19 database tables. Its basically a CMS system, but with a few extra things specific to our sites.
ok, so i need speed. Its currently 600 lines and im about 10% done in terms of functionality. Im averaging about 5 queries per page, some more, some less.
Everything is split into functions, within a class. When i query, it is always within a function. what i want to know is, do i need to use mysql_free_result() to clear the query data (which would speed it up a bit) within the function, or is the data lost at the end of the function?
ok, so i need speed. Its currently 600 lines and im about 10% done in terms of functionality. Im averaging about 5 queries per page, some more, some less.
Everything is split into functions, within a class. When i query, it is always within a function. what i want to know is, do i need to use mysql_free_result() to clear the query data (which would speed it up a bit) within the function, or is the data lost at the end of the function?