Are you sure it is still correct import?
Just looking at the code and I see that checks for verbatim and line == 
verbline  have different outcomes in my code. In case line == verbatim line 
is not added to body. I haven't tested your code, but it seems a bit 
suspicious. 
Vitalije

> Wow.  The following short-circuit test suffices to drop the typical load 
> time from 6-7 seconds to 4.5 seconds.  
>
> if not (
>     verbatim or line == verbline or
>     in_doc or line.strip().startswith(delim_st)
> ):
>     # unindent the line if necessary
>     if indent and line[:indent].isspace() and len(line) > indent:
>         line = line[indent:]
>     body.append(line)
>     continue
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to