yarffaJ nalA (jnala) wrote in lj_dev,
yarffaJ nalA

Improved similar-interests code

I wrote a patch to interests.bml to improve the similarity metric, taking into account the increased significance of a shared uncommon interest as discussed in this lj_dev post, and to give more useful output, indicating who matches you for what reasons rather than just a list of names and numbers.

I timed the main find-similar-users query and was surprised to find it only 0-20% slower than the old version. There's significant room to speed it up to be even faster than the old version, but I'd rather not optimize until I'm pretty sure it's not changing for a while.

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded