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

UGen reference counting revamp #421

Open
gewang opened this issue Dec 4, 2023 · 1 comment
Open

UGen reference counting revamp #421

gewang opened this issue Dec 4, 2023 · 1 comment

Comments

@gewang
Copy link
Member

gewang commented Dec 4, 2023

possible updates to how UGens are reference counted:

  1. connections like => and =< are no longer ref-counted
  2. when a UGen variable goes out of scope, it disconnects itself
  3. this also means that shreds don't have to keep a special list of UGens created on it; however, need to handle cases when Shreds are removed explicitly (e.g., from otf/vm remove commands; stacks need unwinding, etc.)
  4. need to verify with multichan UGens, chugens, chugraphs
  5. it's still possible for make more than one connection between UGens, need to verify that disconnect removes all connections from POV of both endpoints
  6. this might be an opportunity to streamline Chuck_UGen function names, semantics, and documentation
@gewang
Copy link
Member Author

gewang commented Dec 4, 2023

tagging this for post-1.5.2.0, possibly 1.5.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant