[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: diffseq: Introduce EQUAL_IDX for comparing indexes instead of elemen
From: |
Eric Blake |
Subject: |
Re: diffseq: Introduce EQUAL_IDX for comparing indexes instead of elements |
Date: |
Mon, 19 Apr 2010 15:33:25 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b1 Thunderbird/3.0.4 |
On 04/18/2010 04:04 PM, Bruno Haible wrote:
> +++ lib/diffseq.h Sun Apr 18 23:53:39 2010
> @@ -53,6 +53,14 @@
> early abort of the computation.
> USE_HEURISTIC (Optional) Define if you want to support the
> heuristic for large vectors.
> + It is also possible to you this file with abstract arrays. In this case,
s/you/use/
> +#ifdef ELEMENT
> ELEMENT const *const xv = ctxt->xvec; /* Still more help for the compiler.
> */
> ELEMENT const *const yv = ctxt->yvec; /* And more and more . . . */
> + #define XREF_YREF_EQUAL(x,y) EQUAL (xv[x], yv[y])
Isn't the more typical style:
# define XREF...
rather than the leading whitespace?
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature