Optimize comment display by using a hash to find a parent comment id that points to all of its direct children