the two things taking the longest time are sorting tags, currently lines 450 and 452. It's probably not a huge problem though