Skip to content

Conversation

@schochastics
Copy link
Contributor

fix #38

Copy link
Contributor

@maelle maelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some unsollicited feedback 😸

@schochastics
Copy link
Contributor Author

Thank you! I will have a look at this soonish (I actually forgot about this PR...)

@schochastics schochastics requested review from krlmlr and maelle May 31, 2025 18:33
Copy link
Contributor

@krlmlr krlmlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. What would it take to stream the data and not load it into memory all at once?

gprops_df <- readLines(con_gprops)

on.exit(close(con_edge))
on.exit(close(con_nodes))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these on.exit() calls belong just after the connection is opened, to guard against premature exits.

@schochastics
Copy link
Contributor Author

Ah forgot that part! I look into it

@schochastics
Copy link
Contributor Author

@krlmlr req_perform has a path argument that rights the body directly to disk. That should be enough, or?

Copy link
Contributor

@krlmlr krlmlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better indeed!

Co-authored-by: Kirill Müller <[email protected]>
@schochastics schochastics marked this pull request as ready for review June 2, 2025 06:05
@schochastics schochastics merged commit 93d5371 into main Jun 2, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

Improve Netzschleuder code

4 participants