in reply to Why is wxPerl slower than Win32GUI?

wxWidgets is a slightly thicker wrapper for the native widget set, so it will be a little slower

FWIW, on my machine, with perl -le " print 1 for 1 .. 10*1024  " >data, and adding this to both files

my $ix = 0; while (<$data>) { if(/$query/i){ $ix++; $display_field->Append("$ix : $_") } } ... warn "$time ";
I get 8 for wxPerl, 4 for Win32::GUI, but Win32::GUI stops updating after ~3456 lines, go figure

Replies are listed 'Best First'.
Re^2: Why is wxPerl slower than Win32GUI?
by ZJ.Mike.2009 (Scribe) on Jun 01, 2011 at 11:07 UTC
    Thank you Anonymous Monk for the testing.

    To deal with the buffer overflow in Win32::GUI, you might need to add something like this:

    #Deals with buffer overflow $display_field->SetLimitText(10000000);
      With that change, the difference is zero to one second.
        Thanks for the information. I'm now suspecting the problem I'm experiencing might have something to do with character encoding. I'll keep my post updated. Thank you again.