Re: [xmltv-users] tv_grab_na_sd (new grabber for your consideration)

Kevin Groeneveld <[email protected]>
Newsgroups gmane.comp.tv.xmltv.devel
Message-ID <CABF+-6WNXSsESxzHn3vwaQ8-L-5RXB2dMWUWD=grsfSwM7zfWA@mail.gmail.com>
On Sat, Jul 9, 2016 at 10:59 PM, Gary Buhrmaster <[email protected]>
wrote:

> slow in some cases.  I presume if someone really
> cared they would rewrite some of the function in C
>

I have experimented with a pure perl implementation that can replace most
of the remaining slow DateTime usage in my grabber which makes another
noticeable improvement in speed.  I am afraid to actually commit it until I
have tested the heck out of it.  The date/time handling then disappears
into the negligible category when I profile the code so going one step
further and using C wouldn't be worthwhile in this case.


> btw, at one point, I seem to recall that another
> slow section was (somewhere) buried in the xml
> writer.  I did not spend any time looking at that
>

I found the same thing.  Once I got my date/time stuff running more
efficiently the next biggest item is the XML writer stuff in XMLTV.pm.
Rrewriting XMLTV.pm in C would be a lot of error prone hard to maintain
work.  If XML/Writer.pm had a C implementation it would help some and maybe
be more practical then rewriting XMLTV.pm. But in either case I doubt
anyone will do it anytime soon if ever.  And as you mentioned MythTV spends
more time chewing on the data than the grabber takes anyway.


Kevin

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape

_______________________________________________
xmltv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmltv-devel
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.