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

Submitted by:  Jeff Breidenbach <jab>
Submitted on:  Sat 08 Oct 2005 04:11:28 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Operating System: AllPerl Version: 5.8.4-8
Component Version: 2.6.10-1Fixed 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>
Project 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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Jan 2011 09:21:05 AM UTCehoodOpen/ClosedOpen=>Closed
    Sun 09 Jan 2011 08:29:46 AM UTCehoodFixed Release=>2.6.17
    Sun 09 Jan 2011 08:29:45 AM UTCehoodStatusReady For Test=>Fixed
    Fri 31 Dec 2010 08:35:55 PM UTCehoodStatusIn Progress=>Ready For Test
    Tue 20 Dec 2005 10:05:16 PM UTCehoodStatusNone=>In Progress
    Sat 08 Oct 2005 04:11:28 AM UTCjabCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1