qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v10 12/30] qapi-introspect: Document lack of sor


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v10 12/30] qapi-introspect: Document lack of sorting
Date: Mon, 9 Nov 2015 13:56:58 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/06/2015 08:52 AM, Markus Armbruster wrote:
> Eric Blake <address@hidden> writes:
> 
>> qapi-code-gen.txt already claims that types, commands, and
>> events share a common namespace; set this in stone by further
>> documenting that our introspection output will never have
>> collisions with the same name tied to more than one meta-type.
>>

>> For these reasons, we simply document that clients should not
>> rely on any particular order of items in introspection output.
>> And since it is now a documented part of the contract, we have
>> the freedom to later rearrange output if needed, without
>> worrying about breaking well-written clients that were already
>> aware that they had to do linear searches.
> 
> Well, any kind of search that doesn't rely on sorting.  Suggest to drop
> the "that were already..." clause.  Happy to do that on commit.

I don't see that phrase dropped in your v1 pull request. Worth fixing?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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