Rewrite overwritten performance improvement