in reply to Why this code is so slow if run in thread?

Update:I just looked back at your code as opposed to my mock-up of it and realised this can't be the cause because you are not timing the return.