bugMHonArc - Bugs: bug #14747, major (10X) memory savings...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14747: major (10X) memory savings possible in some situations

Submitter:  Jeff Breidenbach <jab>
Submitted:  Sat 08 Oct 2005 04:11:28 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  All Perl Version:  5.8.4-8
Component Version:  2.6.10-1 Fixed Release:  2.6.17

Fri 31 Dec 2010 08:35:55 PM UTC, comment #2: 

I applied Andrew's patch to provide benefits
for 8-bit charsets.

Earl Hood <ehood>
Group administrator
Tue 20 Dec 2005 10:05:16 PM UTC, comment #1: 

Andrew creates a custom regex for the given charset and
passes the data through that versus the existing generic
regex.  This definitely appears to be more efficient in
how Perl's regex engine works (and simplifies the substitute
operation, which should be faster).

To generalize, a cache of charsets->regexes could be
created to avoid regenerating the custom regex each time
(improving performance even further).

Alternatively, I could auto-create perl routines before-hand
that define the more efficient regexes.  These routines are
required on-demand when needed.  I.e.  The process of creating
the regexes are done at mhonarc build-time instead of at
run-time since there are no run-time dependencies on the
creation of the regexes.

BTW, I do not think all charsets can
be handled in this manner, but for those that do, this
performance enhancement can be done.

Note, those that use TEXTENCODE should not encounter this
performance problem since char->html conversion is vastly
simplified and should avoid the routine(s) in question here.
This assertion is made on my understanding of the code versus
any actual testing.  Those using TEXTENCODE are free to
run tests and report their results back to the dev list.

Earl Hood <ehood>
Group administrator
Sat 08 Oct 2005 04:11:28 AM UTC, original submission:  

See report and patch submitted to Debian.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=332653

Jeff Breidenbach <jab>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ehood (Posted a comment)
  • -email is unavailable- added by jab (syncing bug tracking systems)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-09 ehood Open/ClosedOpen Closed
    2011-01-09 ehood Fixed Release 2.6.17
    2011-01-09 ehood StatusReady For Test Fixed
    2010-12-31 ehood StatusIn Progress Ready For Test
    2005-12-20 ehood StatusNone In Progress
    2005-10-08 jab Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code