-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
question: Does csview fixed the stream rendering? #61
Comments
Hi @zhiburt , The benchmarks section shows the memory usage in some common scenarios: |
Understood But when the PS: Correct me if I am wrong but in case |
@zhiburt Right. If sniff not set by user it will take the default value 1000. You can also assign it to |
In this case the "very big" field will be truncated: Line 29 in 5a1e6d9
|
I like your approach 👍 Thank you for the clarification. And once again take care. |
Hi @wfxr
I bump into csview by
phsym/prettytable-rs#104
#19
I think it's a great idea to not allocate the huge chunk of memory but rather do things lazily.
And I was thinking how to do it myself zhiburt/tabled#123
I was thinking about requiring
Clone
for iterator so 1 pass for demension the second pass when print.But it seems to be restrictive to me.
So I looked at your ideas.
And I just wonder if you've fixed the original issue.
Specifically my concern is about this
Vec
allocation.csview/src/table/mod.rs
Line 20 in 5a1e6d9
csview/src/table/mod.rs
Line 79 in 5a1e6d9
Am I wrong that essentially we will allocate
n * m
memory anyway here.Take care.
Thank you for cross issue references :)
Check list
Environment info
Version
Problem / Steps to reproduce
The text was updated successfully, but these errors were encountered: