How to make region or boundary from curves in Rhino script

Do the same (Rhino.EnableRedraw False) with the CurveBooleanScript and compare the time as well…