Ryan Haksi

Results 5 comments of Ryan Haksi

DOH: Just noticed, a merge just went in that fixes `var stackbuf [unescapeStackBufSize]byte`, I have updated and the new code doesnt have this allocation happening.

> Interesting 🤔 > > This change was part of the code to actually reduce allocations #208 Huh, no idea why that fixed things, but you're right, your last released...

#223 PS: Ugh, I missed pIdxFlags, which when changed similarly via : ``` pIdxFlags := make([]bool, stackArraySize)[:] if len(paths) > cap(pIdxFlags) { pIdxFlags = make([]bool, len(paths))[:] } pIdxFlags = pIdxFlags[0:len(paths)]...

On a semi-related note, for ease of use I wrap the EachKeys function with a helper to do field bindings and costlessly marshal directly to a struct: One side affect...

> Doh, you're right, I guess I meant `refs :=` and then `refs[0]`, etc. Edited. > Doh, you're right, I guess I meant `refs :=` and then `refs[0]`, etc. Edited....