2 ms·
> For example, it's hard to optimize even local variable dataflow in python since it's part of the API : you can inspect the local frame of your caller, This s
by mschaef 8y ago
> For example, it's hard to optimize even local variable dataflow in python since it's part of the API : you can inspect the local frame of your caller,
This seems like the sort of thing that should be absolutely not relied upon outside of debugging/profiling and other special circumstances. At least in my experience, I've had to write this sort of thing a few times and it's always been a last resort (and mainly for those purposes I mentioned).
Not only is it problematic because it disallows compiler optimizations, it also seems like it would enforce an unchangable set of local vars.