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

Reusable stacks #73

Open
aviramha opened this issue Sep 6, 2022 · 2 comments
Open

Reusable stacks #73

aviramha opened this issue Sep 6, 2022 · 2 comments

Comments

@aviramha
Copy link

aviramha commented Sep 6, 2022

Hey!
First of all - awesome library, really useful for our project!
Second - we have a use case where we need to use a different stack then the one we execute it, but we don't want to create a new stack each time, so I thought maybe we would allocate it once then re-use it. I was wondering if you'd accept a PR adding this functionality.

@nagisa
Copy link
Member

nagisa commented Sep 6, 2022

I would imagine using the psm library may suit your needs better in case you need precise manual control of the details, but I’m definitely happy to see improvements made to stacker as well.

In particular, some sort of a mechanism that caches and reuses previously allocated stacks would be very interesting and desirable I believe.

@aviramha
Copy link
Author

aviramha commented Sep 6, 2022

@nagisa You have amazing timing - I just submitted a PR. I think the overall structure makes more sense (building blocks wise) and it solves my issue (I can create a stack and "run" on it)
The possibility of caching is easier to implement using it but currently out of scope in regards to our current desires/needs..

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

No branches or pull requests

2 participants