Speedreview

branch for speed related code reviews