[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: std::vector is slow

From: Oto BREZINA <otik_at_printflow.eu>
Date: Mon, 25 Apr 2011 16:00:38 +0200

On 2011-04-25 14:53, Stefan Küng wrote:
> On 25.04.2011 14:19, Oto BREZINA wrote:
>> I have implemented some cache but everything slows down.
>> I found that std::vector is slow do we have alternative, different
>> setting or something to speed it up ?
> What operation with a vector is slow? Can't be all of them...
for example clear()
Compare TortoiseDOC_jp with TortoiseDOC_zn, select all left text and
select use block (alternatively use this file).
Then hit undo it will take some secs. Try to debug end will found that
clearing it taking that time - at least my last test look like that
(can't debug right now).
After reading some post I found it may be because of DEBUG build where
lot of tests are enabled.
> Stefan
>

-- 
Oto BREZINA, Printflow s.r.o., EU
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2724038
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-04-25 16:00:50 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.