# Re: \[PATCH v3 6/8\] reset: make sparse-aware (except --mixed)

- From: Junio C Hamano \<hidden\>
- Date: 2021-10-11 16:16:05 
- List: git
- Page: https://ratatoskr.run/git/2021/10/7905037
- Thread: https://ratatoskr.run/git/2021/10/7905037/t.md

```text
Victoria Dye [ref] writes:

> After some basic performance testing of `git reset [--hard]`, it's not clear
> whether `cache_tree_update` is definitively faster or slower than
> `prime_cache_tree`; more conclusive results would indicate which of the two
> could be skipped. I'd like to defer this to a future patch (tracking it with
> an internal issue so I don't forget) where I can perform a more thorough
> analysis across all of the commands currently using `prime_cache_tree` and
> update its usage accordingly.

Yup.  That sounds sensible.  Concentrating on correctness first is a
good direction to go.
```
