Judge A Book By Its Cover.co.uk - Where you really can judge a book by its cover!

Judge A Book By Its Cover - Blog



Tuesday, March 07, 2006

Selecting covers

Well, my best efforts at making the selection code for judging covers random isn't going too well. Several people have noticed you can get duplicates, quite often, so I've been trying to stop that by tracking what you've Judged during your visit, and not showing you those covers again.

Its not ideal, as it seems to have slowed things down as I feared, but I've not had much more time to think about it. Rest assured it is top of my priority list, and I'm thinking of ways around it.

If you have any ideas on efficient code to pull out random non duplicated covers, let me know!

Update:Hurray, I've got it sorted so I'm happy with it now. I've taken the number of covers I track you viewing down to 60. This is a good number because you're not likely to judge more than 60 in one session, and performance doesn't seem adversely affected by it. So enjoy judging non duplicating covers!

Posted by Chris at 22:29