Qeole / colorediffs

Thunderbird extension to colorize code diffs in messages.
Mozilla Public License 2.0
25 stars 5 forks source link

Time to format long message is really long #30

Closed GoogleCodeExporter closed 4 years ago

GoogleCodeExporter commented 9 years ago
If a SVN commit message is longer then 1000K the script takes really long
to process the message.  It would be nice if there was a way to configure
it to ignore messages that are over a configurable size.

Original issue reported on code.google.com by rlo...@gmail.com on 26 Sep 2007 at 3:47

GoogleCodeExporter commented 9 years ago
Yes, I am aware of the problem. I'm not sure I could do anything except that 
size
limitation you suggested here :( But I'll see what I can do.

Original comment by vadim.at...@gmail.com on 26 Sep 2007 at 4:34

GoogleCodeExporter commented 9 years ago
I would also welcome this feature to turn it off for really large messages.

Create a user editable size with a default to something like rlogel suggested.  
This
will give the user the ability to adjust it up or down to compensate for their
threshold of waiting as well as computational resources.

Original comment by jamesbig...@gmail.com on 19 Oct 2007 at 7:07

GoogleCodeExporter commented 9 years ago
Rather than the size of the message, it would be better if it could be 
sensitive to a
time threshold.  I don't want to wait longer than, say, 2 seconds to generate 
the
colored diff.  This maximum time threshold would work better across different 
CPU speeds.

Why the formatting is so slow is another question.  If you have to do it 
entirely in
unoptimized JavaScript, I can understand.  Can plugins include binaries of 
libraries
that will do this faster? 

Original comment by daniel.l...@gmail.com on 10 Nov 2009 at 4:57

Qeole commented 4 years ago

Obsoleted in v2 by c8436ddca5160c736aaf67326ccbaa08ffb01ae5.