On 5/18/2018 6:42 AM, Robin Murphy wrote:
FWIW, now that I've actually gone and looked, it appears you could simplify the whole function quite a bit by getting rid of these and just using the new local resource directly, especially since the only actual use of size is an open-coded resource_contains().
Posted V2 a minute ago. I did the simplification on a prior patch in order not to mix the issues.