gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] [RFC ] dictionary optimizations


From: Jeff Darcy
Subject: Re: [Gluster-devel] [RFC ] dictionary optimizations
Date: Fri, 06 Sep 2013 12:04:29 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130806 Thunderbird/17.0.8

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).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]