Hello,
I had a look to the scid source code to find areas which need improvements.
One I found and which I will fix is that the database index file at startup
is read character by character. For an actual database with 200 Megabyte
index file size this needs close to a minute. Reading it in blocks like it
is done for the game file needs not more than a second. Somebody already saw
the problem and defined the character read method inline, which is a real
good joke. I have to figure out how to define a useful file class hierarchy,
so the resulting version needs some effort.
The other task I see is to split up tkscid.cpp. It contains 35% of the
overall cpp source code, because it implements three functionalities:
Interface for TCL/TK, application functionality, database class
functionality. There should be a class Database, a class Application and a
tkscid.cpp with the TCL/TK interface code calling them. By the way this
would also allow in future to work on multiple databases in parallel.
But before I invest more time I would like to know a bit more about the
state of the SCID project. Last release was nearly one year ago, and from
then the source nearly remained unchanged. I save a lot of time when I start
to develop only for private use, so I would like to know it in advance.
Regards,
Gerd Lorscheid
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users