Closed kortschak closed 8 years ago
I guess this is okay, but I would be happier if there was less copying from reuseAs. I don't see a good way around it though.
LGTM
This PR reduces copying when complete (after the QFromQR use is in). There is the option to merge reuseAs and reuseAsZeroed by passing a bool, but I don't like the readability impact of that (which is why both use and useZeroed exist).
Yea, agreed on both accounts. Maybe add a comment to reuseAs that if that implementation changes, reuseAsZeroed should change as well?
Will do.
OK, this is ready.
PTAL
LGTM with fix.
WIP: Waiting to add use in QFromQR.