that the current code is so suboptimal that there simply "have" to be more changes. Though currently I think it would make most sense to start with using the sws_getConstVec function where possible, it should cut down future diffs most.