Maybe we could implement a `clear()` method on BytesRefHash and reuse it across documents?