Micro-optimizations when reading from the db