Re: yaml "really slow on large input"

"George, Lal" <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <25E765EF2947214B96ACD0AD9CE9CE1E0BEB13D0@njpcmg1exms307.leh.lbcorp.lehman.com>
Clark,

I managed to build LibYaml and Pyrex successfully, however when I try
and install yaml with libyaml using:
	python setup_with_libyaml.py install

I get the errors shown below.

It's complaining about no yaml.h  file which is correct, and also a
syntax error at the lines:

71 struct __pyx_obj_5_yaml_CParser {
72    PyObject_HEAD
73    struct __pyx_vtabstruct_5_yaml_CParser *__pyx_vtab;
74    yaml_parser_t parser;

Any thoughts. My version of gcc is 3.2.3!

Any help is appreciated.

Best,
   Lal
------------
building '_yaml' extension
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/ext
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC -I/home/lageorge/Tools/include/python2.5 -c
ext/_yaml.c -o build/temp.linux-i686-2.5/ext/_yaml.o
In file included from ext/_yaml.c:26:
ext/_yaml.h:2:18: yaml.h: No such file or directory
ext/_yaml.c:74: syntax error before "yaml_parser_t"
ext/_yaml.c:74: warning: no semicolon at end of struct or union 

-----Original Message-----
From: Clark C. Evans [mailto:[email protected]] 
Sent: Saturday, November 17, 2007 10:16 AM
To: George, Lal
Subject: yaml "really slow on large input"

Lal,

Did you compile pyyaml /w libyaml?  If so, you'll find a 100x difference
in speed.  libyaml was designed to be a bit faster, and well, it's
written in "C".

Best,

Clark
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.

--------
IRS Circular 230 Disclosure:
Please be advised that any discussion of U.S. tax matters contained within this communication (including any attachments) is not intended or written to be used and cannot be used for the purpose of (i) avoiding U.S. tax related penalties or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
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.