perf tweaks
no need to ifdef while loop away on intel sdk