Skip to content

Commit

Permalink
Revert "executor: add CPU padding for chunk.Iterator4Slice (pingcap#3…
Browse files Browse the repository at this point in the history
…8800)"

This reverts commit 17c6c48.
  • Loading branch information
XuHuaiyu committed Dec 26, 2022
1 parent 3fff806 commit 23bbdac
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions util/chunk/iterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

package chunk

import "golang.org/x/sys/cpu"

var (
_ Iterator = (*Iterator4Chunk)(nil)
_ Iterator = (*iterator4RowPtr)(nil)
Expand Down Expand Up @@ -60,10 +58,8 @@ func NewIterator4Slice(rows []Row) Iterator {

// Iterator4Slice is used to iterate rows inside a slice.
type Iterator4Slice struct {
_ cpu.CacheLinePad
rows []Row
cursor int
_ cpu.CacheLinePad
}

// Begin implements the Iterator interface.
Expand Down

0 comments on commit 23bbdac

Please sign in to comment.