[GH-ISSUE #183] Cannot write to previous row if constant_memory mode is enabled. #148

Closed
opened 2026-05-05 11:47:19 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @igorko on GitHub (May 25, 2018).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/183

If constant_memory mode is enabled then writing to row e.g. 0 will produce empty cell, if there was already writing to row e.g. 1.

Originally created by @igorko on GitHub (May 25, 2018). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/183 If constant_memory mode is enabled then writing to row e.g. 0 will produce empty cell, if there was already writing to row e.g. 1.
Author
Owner

@jmcnamara commented on GitHub (May 25, 2018):

That is the documented behavior: http://libxlsxwriter.github.io/working_with_memory.html

The trade-off when using constant_memory mode is that data must be added sequentially in row order

<!-- gh-comment-id:392114480 --> @jmcnamara commented on GitHub (May 25, 2018): That is the documented behavior: http://libxlsxwriter.github.io/working_with_memory.html > The trade-off when using constant_memory mode is that data must be added sequentially in row order
Author
Owner

@igorko commented on GitHub (May 29, 2018):

Maybe it can be improved so flushing happens only after adding n-th row?

<!-- gh-comment-id:392660332 --> @igorko commented on GitHub (May 29, 2018): Maybe it can be improved so flushing happens only after adding n-th row?
Author
Owner

@jmcnamara commented on GitHub (May 29, 2018):

Maybe it can be improved so flushing happens only after adding n-th row?

That is something that could be handled in the end-user application with some simple buffering.

<!-- gh-comment-id:392701913 --> @jmcnamara commented on GitHub (May 29, 2018): > Maybe it can be improved so flushing happens only after adding n-th row? That is something that could be handled in the end-user application with some simple buffering.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#148
No description provided.