Re: [RFC ] dictionary optimizations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/02/2013 10:24 AM, Xavier Hernandez wrote:
* Implement dict_foreach() as a macro (similar to kernel's list_for_each()).

FWIW, a version of dict_foreach_inline is included as part of

	http://review.gluster.org/#/c/5846/

I'm certainly not volunteering to convert existing uses of dict_foreach to use this, because that's a lot of tedious code motion for uncertain benefit, but at least it provides a way for new code to iterate over the contents of a dict inline where that seems natural (as in the gf_authenticate case that inspired it).




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux