Mitchell Hashimoto
Mitchell Hashimoto
Thanks @Finii that's great insight. Looking at the way my terminal (and many others) calculate cell heights and baselines, I think I was handling the leading metric incorrectly. In CoreText,...
Changing the flags here to enhancement, but still agree this is a good idea.
I'm quite an amateur at `perf`, but I can see that the version that uses `submit_and_wait` does context switch exactly 200,008 more times. Looking at a call graph its hard...
Yeah I'm pretty confident you're right that this is just timer and context overhead from the wait. If I increase the number of threads to be more than the CPU...
I haven't looked at this code in awhile, but how is `headerWritten` racy? I don't think the underlying `http.ResponseWriter` allows for any sort of concurrency, therefore the httpsnoop callbacks can't...
Yeah, there was a bug fixed in 1.5.0 that caused some struct fields to get an empty string in the map. So you're seeing that fix, while still retaining your...
Yes this is done on purpose so that you can call Decode multiple times to "build up" a result. Arrays/slices in particular this may not make sense though.
I do think the slice/array should be zeroed though (hence me not closing this issue). I'm thinking about it more though.
I don't FULLY understand (but haven't spent a lot of time reading all the materials you linked to). However, on the surface, this sounds like it fits fine if you...
/cc @armon