in reply to Re^9: Why this code is so slow if run in thread?in thread Why this code is so slow if run in thread?