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

Programatically interacting with varinfo #40709

Open
oxinabox opened this issue May 4, 2021 · 0 comments
Open

Programatically interacting with varinfo #40709

oxinabox opened this issue May 4, 2021 · 0 comments
Labels
kind:feature Indicates new feature / enhancement requests

Comments

@oxinabox
Copy link
Contributor

oxinabox commented May 4, 2021

I would like to use varinfo for programmatically investigating how much memory various modules i have loaded are using for their global constants.

There is no version of varinfo which returns a programatically accessable data-structure.
That you can easily traverse and compute with.

It might be nice if varinfo actually returned such a datastruture, and then that type just had show overloaded to display the current info.
Or (less breaking) if it were a seperate function and varinfo then called that and displayed it.

Quoting from #40710 (comment)

varinfo returns a Markdown.MD object which is displayed by the REPL

Which is kind process-able, if you find the table and parse the strings back in etc

@brenhinkeller brenhinkeller added the kind:feature Indicates new feature / enhancement requests label Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feature Indicates new feature / enhancement requests
Projects
None yet
Development

No branches or pull requests

2 participants