Memory optimization for texts, new glhck