Memory and performance enhancements