Sorry for the silence these days, I've been very busy at work.
Quote:
Originally Posted by hansel
Did you have time do do a simple performance test on the Iliad?
Can you run a simple test to get an idea about performance? A dialog wit 16x16 small exit buttons would be a good benchmark. I hope it shows in not much more than 8 seconds...
|
I've used the attached file. It's a modification of the Application.lua example included in lgui sources, with a table in the body of the window. There we have 16x16 buttons connected to click callbacks.
The main window appears after 7-8 secs, but it doesn't display the table with the 256 buttons. If I click on the body of the window just after main window is shown, table appears in less than 1 sec, that is, 8-9 secs. since the start.
Don't know what's happening here... maybe a refresh issue?
I've tried to insert a tbl:showAll() after table creation, but with no visible differences.
The same script with a 4x4 table shows in 6 seconds.
Quote:
Originally Posted by hansel
be very careful when changing lines that contain 'free' 'alloc' or 'ref'! We don't want memory leaks or core dumps...
|

Don't be afraid, I've only modified a new function that didn't exist in old glib v2.6.7.
Quote:
Originally Posted by hansel
About liblua.so or liblua.a: I think you do not need liblua at all: the functions we need are already in the Lua interpreter. They are resolved fine at runtime.
|
I'll try to build again without linking to liblua.so. Thanks for the tip.
Btw, any idea about the problem I mention regarding theme?
Iņigo