don't allocate the `usedStatsInfo` for each statements in a session
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
The memory allocated by `GetUsedInfo` can be re-used for each statements in a single session. It can improve the performance of index usage a little (but not significantly).

This is the CPU profile.
Contributor guide
Assessment
This issue has not been assessed yet.