Saturday, December 01
Programming -101
That being roughly how many lines of code I've written today.
Just removed the Topic query and replaced it with a special case of the Entry query. This is slightly slower, because it fires two queries instead of one (the first query returns a sorted list of topic/thread/entry ids; the second retrieves the details), but it means that the odd bugs we've had with the [topics] tag not quite matching the [posts] tag all go away.
Which is good news, since I'm about to add a bunch of searching and filtering stuff and wouldn't want to have to duplicate it all...
Comments are disabled.
Post is locked.
That being roughly how many lines of code I've written today.
Just removed the Topic query and replaced it with a special case of the Entry query. This is slightly slower, because it fires two queries instead of one (the first query returns a sorted list of topic/thread/entry ids; the second retrieves the details), but it means that the odd bugs we've had with the [topics] tag not quite matching the [posts] tag all go away.
Which is good news, since I'm about to add a bunch of searching and filtering stuff and wouldn't want to have to duplicate it all...
Posted by: Pixy Misa at
12:21 PM
| No Comments
| Add Comment
| Trackbacks (Suck)
Post contains 101 words, total size 1 kb.
45kb generated in CPU 0.098, elapsed 0.1598 seconds.
54 queries taking 0.1507 seconds, 356 records returned.
Powered by Minx 1.1.6c-pink.
54 queries taking 0.1507 seconds, 356 records returned.
Powered by Minx 1.1.6c-pink.









