Conversation
|
Hi. This seems like a subset of what I suggested in this comment, which I would rather do than this. It's not something I've taken the time to do though |
Possibly. I think this change can be considered separately though; critically, it allows separating resource cleanup. I don't know what the best API for defining comptime and runtime inputs looks like but it will surely have to pass some runtime context in. |
|
In case it's useful at all; here's a use case of runtime args (using this change only) |
allows user to keep resource cleanup out of measured function
allows user to keep resource cleanup out of measured function