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

Is it possible to do Linked Lists in Taichi with garbage collection? #8359

Closed
kurt-rhee opened this issue Oct 5, 2023 · 2 comments
Closed
Labels
question Question on using Taichi

Comments

@kurt-rhee
Copy link

My linked list implementation must be garage collected.

@kurt-rhee kurt-rhee added the question Question on using Taichi label Oct 5, 2023
@github-project-automation github-project-automation bot moved this to Untriaged in Taichi Lang Oct 5, 2023
@jim19930609
Copy link
Contributor

Hi @kurt-rhee, I don't think there's internal support for linked lists in Taichi. The closest I can think of is to fake one with SnodeTree like ti.root.dense().dense().dense(). But as you mentioned, it doesn't support customized GC at all.

@kurt-rhee
Copy link
Author

kurt-rhee commented Oct 12, 2023 via email

@github-project-automation github-project-automation bot moved this from Untriaged to Done in Taichi Lang Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question on using Taichi
Projects
Status: Done
Development

No branches or pull requests

2 participants