I wondered if it could be possible to have a batch read where we could provide the list of indices to read directly. I believe this would be faster than using a combinaison of SkipRows and Reads.
num = int(pr.GetNumRows())
for i := 0; i < num/10; i++ {
stus := make([]Student2, 10) //read 10 rows
if err = pr.Read(&stus, [0, 2, 4, 6, 8, ..., 18]); err != nil {
log.Println("Read error", err)
}
log.Println(stus)
}
Hey there,
Thanks a lot for this library !
I wondered if it could be possible to have a batch read where we could provide the list of indices to read directly. I believe this would be faster than using a combinaison of SkipRows and Reads.
Best, T.C