On 31.12.2012 12:57, Zsolt Udvari wrote:
> 2012/12/31 Uli Schlachter <[email protected]>:
>> Yes, someone on IRC mentioned it. This seems to be overhead due to function
>> calls through LGI (C profilers blame lua code, lua profiler blame LGI's
>> component.lua AFAIR). So far there were no good ideas on how to solve this.
>> The
>> bad ideas include double buffering as much as possible to avoid redraws.
> Sad "news" :(
> It's irritating that fans works many times. Is there any tip or
> workaround? I want my lightweight, customizable awesome wm :) :)
Don't have a textclock (or other widget) that updates every second. Less redraws
mean less calls going through everything and causing CPU usage (and since my
textclock only updates every 60 secs, this is why I never noticed this myself).
Let's see when we find some time to measure and improve this solution. Sadly, I
don't have much time currently.
Uli
--
my $key = "\x49\x03\x93\x08\x19\x94\x96\x94\x28\x93\x83\x04\x68\x28\xa8\xf5".
"\x0a\xb9\x94\x02\x45\x81\x93\x1f\xbc\xd7\xf3\xad\x93\xf5\x32\x93";
my $cipher = Crypt::Rijndael->new( $key, Crypt::Rijndael::MODE_ECB() );
my $plain = $ciper->decrypt($daten);
--
To unsubscribe, send mail to [email protected].