On Fri, Oct 17, 2008 at 8:33 PM, thyrsus <[EMAIL PROTECTED]> wrote:

> Please take a look at the changes I made to leoFileCommands.py in
> thyrsus1.

Will do.

> Amazingly, the SAX
> parser required *NO* changes to read the suppressed redundancy file.

Yeah, sax was probably a "lucky" choice for this because it only knows
about nodes, not overall tree structure   ElementTree might have had
problems.

> All unit tests pass.  The suppression makes a huge difference for my
> most important file:
>
> bash-3.2$ wc ISconf.leo ISconf-after.leo
>  250024   466784 10037715 ISconf.leo
>   24207    64076   929273 ISconf-after.leo

Could you say more about what suppression?  Unless I am mistaken, only
one copy of each tnode (<t> element) ever gets written.  So your code
is writing a vnode (<v> element) only if it hasn't already been
written?

Edward

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to