I think this comment was referring to the inefficiency of getting all the marks in the editor and then finding out which ones are our tag marks, rather than just storing the mark in each node. It's probably worth making that optimization since `getAllMarks()` walks the whole document once. I can look at that today.