Small optimization in corelib
Merge branch 'master' of github.com:KnightOS/KnightOS