|
From: Artem Y. <ne...@gm...> - 2008-07-03 19:28:55
|
Yuri Takhteyev wrote: >> markdown-syntax:2.120000:5246976.000000 >> markdown-syntax:2.500000:2031616.000000 >> > > So, that's, 26% reduction in time, right? Not bad. But are we now > using twice as much memory? Any reason for this? > > I'll try to investigate this. Maybe it's because we are putting all InlinePatterns nodes to dict. And I think two-step approach eats part of memory too. >> I think we also could speed up markdown by switching to cElementTree >> instead of NanoDOM. >> > > Which version of python would this require? > cElementTree and ElementTree was includeded in Python std lib since Python 2.5, but cElementTree itself can be used with Python 1.5.2 and later. |