1) Optimized item-based collaborative filtering to reduce the memory occupied by the similarity matrix. 2) Added timing logs for all the algorithms.