Re: A few gnu M4 extensions

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.general
Organization Red Hat
Message-ID <[email protected]>
On 10/19/2012 04:00 AM, gwenael chailleu wrote:
> Hello,
> 
> Two years ago, with a friend, we decided to develop a new C extension (one
> more!  You can have a look at :
> http://melvenn.com/cawen/the-google-benchmark/ )...
> 
> We chose gnu M4 to be the basis of our C99 code generation process.
> To simplify our m4 source files we decided to add a few builtins to gm4.
> The associated test files of these builtins are here attached.

Thanks for taking the time to write an extension.  However, to be
accepted, you would need to assign copyright to your work to the FSF.
Is this something you are interested in pursuing?

> 
> We also wanted to add lexicographical order to the user macros and we
> replaced the central recognition hash-map with some kind of ordered map
> based on JudyL Arrays.
> 
> results :
> 
> 1) no performance loss (very much a minimum!)
> 
> 2) we can now add (but we had not yet)  builtins of this kind : for each
> macro beginning with "myPrefix"...
> 
> 3) expected performance gain : Doug Baskins is currently reengineering his
> Judy Arrays (http://judy.sourceforge.net/).
> He told us he has already achieved a x2 x4 speed gain on JudyL arrays.
> 
> 4) maybe a way to implement a simpler changeword mode ? (keys can be
> non-ascii, can contain embedded 0 and so on)
> 
> If you are interested in our work, we would be very happy to talk further
> about it.
> 
> Besides, we would like to say "thanks a lot!" to the whole team of gnu M4
> maintainers !
> 
> Gwenael & Thomas
> 

-- 
Eric Blake   [email protected]    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc (application/pgp-signature, 617 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBCAAGBQJQgXJmAAoJEKeha0olJ0NqnnAH/jrBLaTiyB+E0qIsj1o+bWzv
oIQrmHNb6K3S3DMYST0zJUm48VL5zx/lLVbeNVxcuEjHcRlKfAWk7vClPSBJIYqG
6BAMhbYoC/oujkuyS3satwq2zTnpv7U2ZCIej7bKFM/R+IvKn4bhaN5mgFfJzIIP
uKiZEgc/GLB5tBjOycw4KH6NP3UyvmYMsXSMoaFrn5fXcHjNQOl/c7i7dHP8TXge
XQ9qmPjPrdVUFnf6NjzqCw/wYpyn7PKFxAa9o9VGjBVMow9stU8vDXA8d+WqXVt2
7q5kJ7ozwnwkEcApk+kgsN2fYHi9SwEeOqUlNSxMtlhmJxKf/iOoDxRRokhkxNI=
=FpLf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.