Open GoogleCodeExporter opened 9 years ago
Thanks!
You're definitely doing it right, and this is too slow. I'll see what I can do.
Original comment by jbe...@gmail.com
on 9 Apr 2012 at 3:54
Original comment by jbe...@gmail.com
on 18 May 2012 at 6:32
Original comment by jbe...@gmail.com
on 19 May 2012 at 9:09
Any progress on this issue? I like yaml-cpp but the performance is very bad
Original comment by dael...@gmail.com
on 11 Oct 2012 at 8:32
Sorry, I've been very busy. I have a plan, but I just haven't had time to
execute it.
Original comment by jbe...@gmail.com
on 11 Oct 2012 at 1:06
Is it a big issue? If you point me in the direction I can play around with it.
Original comment by dael...@gmail.com
on 11 Oct 2012 at 1:33
Sorta, yeah, I'm planning a major refactor. The steps are:
1. Refactor the file IO to make it easier to ensure that a certain amount is
buffered for random access.
2. Refactor the scanning (this is where most of the inefficiency lies)
3. Refactor tokens to not copy strings, when they can (this is the rest of the
inefficiency)
Original comment by jbe...@gmail.com
on 11 Oct 2012 at 1:38
Any updates on this?
I've been using yaml-cpp in one of my projects and quite like its API, but I
have a 5 MB yaml file that takes 50s to load. 5 MB is big for a yaml file, I
suppose, but 50s seems to be far too long IMHO. I'm considering switching over
to libyaml to see how fast that can do it, but I don't really want to have to
work with a C API.
Original comment by WrinklyN...@gmail.com
on 2 Aug 2013 at 12:53
Sorry, I just don't expect to get to this for a while - life precludes going on
one of the coding stretches that I did in my younger days :)
Original comment by jbe...@gmail.com
on 2 Aug 2013 at 1:09
Well, I'm not a brilliant coder, but I'd be happy to try making some
improvements if you were to point me in the right direction.
Original comment by WrinklyN...@gmail.com
on 2 Aug 2013 at 1:31
I listed the basic steps above - but as a caution, if you plan to actually work
on this (which would be awesome!), the resulting patch would be farily large,
so make sure you break up your patch into many (many!) small pieces to make it
easier to code-review.
Original comment by jbe...@gmail.com
on 2 Aug 2013 at 1:44
Original issue reported on code.google.com by
cmt75...@gmail.com
on 9 Apr 2012 at 3:20Attachments: