taking Rich review into account:
https://fedorahosted.org/389/attachment/ticket/512/0007-Ticket-512-improve-performance-of-vattr-code.patch


https://fedorahosted.org/389/ticket/512