Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decide on how to copy the data most efficiently #29

Open
2 tasks
freddie-freeloader opened this issue May 26, 2024 · 0 comments
Open
2 tasks

Decide on how to copy the data most efficiently #29

freddie-freeloader opened this issue May 26, 2024 · 0 comments
Milestone

Comments

@freddie-freeloader
Copy link
Contributor

  • Sheetreader-R, Sheetreader-Python, & newRow() use the following method (copy by row):
      for (currentBuffer = 0; currentBuffer < maxBuffers; ++currentBuffer) {
      	for (currentThread = 0; currentThread < mCells.size(); ++currentThread) {
      		for (currentCell = 0; currentCell <= cells.size(); ++currentCell) {
                      ...
    }}}
    So they copy row by row, since this is how sheetreader stores the data in mCells
  • In theory, we could do it like this (copy by column):
    for(column : columns) {
      for (auto currentLocation : orderedLocations) { ... } }
    
@freddie-freeloader freddie-freeloader added this to the Write Report milestone Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant