tuned implementation of entry and entries methods