Making parsePosts more efficient (~50% improvement)