In consolidating and creating functions i've increased the SQL over double of what they were. #31

Open
opened 2009-12-25 20:16:32 +00:00 by Frumph · 3 comments
Frumph commented 2009-12-25 20:16:32 +00:00 (Migrated from github.com)

When consolidating everything the query count pretty much nearly trippled for some reason.

When consolidating everything the query count pretty much nearly trippled for some reason.
Frumph commented 2009-12-25 20:49:05 +00:00 (Migrated from github.com)

.. apparently it's more then just the consolidation with the SQL queries, blah

.. apparently it's more then just the consolidation with the SQL queries, blah
Frumph commented 2009-12-26 01:44:13 +00:00 (Migrated from github.com)

I was using in_comic_category() far too often apparently, now i'm sending $is_comic to the individual functions and having it check in the one display_post.

I was using in_comic_category() far too often apparently, now i'm sending $is_comic to the individual functions and having it check in the one display_post.
johnbintz commented 2009-12-31 02:44:23 +00:00 (Migrated from github.com)

Ideally, is_comic_category() should be using the WP Cache functions to store its outputs, and I'm pretty sure it isn't. I would prefer the cached use of in_comic_category() to another variable to be passed around.

Ideally, is_comic_category() should be using the WP Cache functions to store its outputs, and I'm pretty sure it isn't. I would prefer the cached use of in_comic_category() to another variable to be passed around.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: github-migration/comicpress-2.8#31
No description provided.