aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: wxTextCtrl::AppendText Mac Unicode Optimization  (Read 6800 times)

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206
wxTextCtrl::AppendText Mac Unicode Optimization
« on: May 15, 2009, 01:22:35 PM »

Hi,
I see in wiki references to this wxMac patch that has just been applied.

So I think to apply it to the wxMac 2.8.10 that I use to compile aMule, what do you think about it?

The person who wrote in wiki has done so and tell:
"This patch greatly increases performance of wxTextCtrl and prevents aMule from hanging under rapid logging."

EDIT: See also here.
« Last Edit: May 15, 2009, 01:26:15 PM by gtoso »
Logged

PacoBell

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 25
  • Professional Lurker ¬_¬
Re: wxTextCtrl::AppendText Mac Unicode Optimization
« Reply #1 on: May 17, 2009, 10:31:30 AM »

Yeah, I wrote that. Works much better for me on Intel Leopard. Still, if you activate ALL the logging options, aMule will still hang :-[ The only way around this for now is to modify aMule to stop logging to the text control completely and 'tail -f' the logfile or something (Console works fine).
« Last Edit: May 17, 2009, 10:36:49 AM by PacoBell »
Logged
Sed quis custodiet ipsos custodes

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: wxTextCtrl::AppendText Mac Unicode Optimization
« Reply #2 on: May 19, 2009, 11:14:41 PM »

It has been applied to the wx 2.8 branch in the wx SVN so you could also use that. (I've compiled the Windows build with SVN for a while too because 2.8.9 was useless there.)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon