wesnoth-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wesnoth-dev] C++ streams and VC++6


From: David White
Subject: Re: [Wesnoth-dev] C++ streams and VC++6
Date: Sun, 01 May 2005 09:12:01 -0500
User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)

David White wrote:

In 0.9.0, we switched to using istreams to read files, instead of using the C API.

Unfortunately it seems the istreams implementation that ships with VC++6 is very slow. It can take a very long time for an uncached game to load a campaign -- up to a minute on my 2Ghz machine, and some users seem to report it taking many minutes.

I managed to resolve this problem by using VC++6 with STLPort instead of the Microsoft/Dinkumware standard library implementation that ships with VC++6.

I tried to use the freely downloadable VC++7.1 compiler, but I couldn't get it working properly: it seems to crash in libintl alot for some reason.

STLPort should also have other advantages for us, such as supporting all std::string operations properly such as push_back and template constructors.

David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]