@romainguy@JakeWharton@romainguy out of interest, how slow is the most naive `value.toString().length`? It's what you'd actually expect to see in some random codebase.
One of the biggest updates to emulator-wtf, we now have GPU-accelerated emulators! Around ~2x reduction in test times and cost savings. blog.emulator.wtf/posts/2023-07-…
@NamiqTehmezli@VasiliyZukanov this[i] and 0xFF promotes to int and then chops off the added 1's in case the byte was negative - promotion is necessary for shifting later and chopping the bytes is necessary because promoting say 0xFC to int becomes 0xFFFFFFFC. JVM signed ints are "fun".
This little function took me way too much time to write (i.e. find and copy-paste from StackOverflow), and I still don't completely understand why it works.
Not sure I should blab about it but I just heard from @siimmaivel that #openai GPT-3 trial answered all the job interview questions for a data scientist position at @boltapp to pass the mid-level borderline senior level 😰
I benchmarked the new Android Test Device emulator images w.r.t test performance, results here - blog.emulator.wtf/posts/2022-04-…. TL;DR: Pixel2Atd/30 ~20% faster than Pixel2/30 and roughly on par with NexusLowRes/23