octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #37509] `load -z` is very slow


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #37509] `load -z` is very slow
Date: Fri, 05 Oct 2012 19:23:28 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Junglewallaby/3.6.13

Update of bug #37509 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #4:

I suspect this cset is to blame:

http://hg.savannah.gnu.org/hgweb/octave/rev/980e2d5c83f7

Indeed, on 3.6.2 we do not see this problem. The issue seems to be that that
istream::tellg call ends up in gzfilebuf::seekoff:

http://hg.savannah.gnu.org/hgweb/octave/file/d174210ce1ec/src/zfstream.cc#l462

which is calling gzseek thousands of times, which is acknowledged to be
extremely slow:

http://library.developer.nokia.com/topic/S60_3rd_Edition_Cpp_Developers_Library/GUID-2AD4ABC3-4061-4698-AF45-1DEC83466E64/html/zlib-gzseek-1.html

http://www.gzip.org/zlib/manual.html#gzseek

since this is a confirmed regression, we should fix this before the 3.6.4
release.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37509>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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