Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: remove allocs from iter.Close
I actually don't understand why this allocated. Escape analysis said: > func literal escapes to heap: flow: {heap} = > &{storage for func literal}: from func literal (spill) at <the defer> This remained true even after simplifying the code (so that `iter, err` were local to the block) but keeping the `defer`. This was 0.41% on oltp_write_only.
- Loading branch information