Question: what package is glmer in?
Answer: lme4 uses modern, efficient linear algebra methods as implemented in the Eigen package, and uses reference classes to avoid undue copying of large objects; it is therefore likely to be faster and more memory-efficient than nlme. lme4 includes generalized linear mixed model (GLMM) capabilities, via the glmer function.