X-Account-Key: account1
X-UIDL: 042465c777f6a187932c77bd6e0afd16
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                                 
Received: from lists.maptools.org (localhost [127.0.0.1])
	by mail.howardsilvan.com (Postfix) with ESMTPS id 5CC1EC42076
	for <faxguy@howardsilvan.com>; Tue, 26 Jan 2016 09:15:41 -0800 (PST)
Received: from lists.maptools.org ([94.23.4.142] helo=lists.maptools.org)
	by fangorn.howardsilvan.com with SMTP (2.3.3); 26 Jan 2016 09:15:40 -0800
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id F26A035C137;
	Tue, 26 Jan 2016 12:15:12 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by lists.maptools.org (Postfix) with ESMTPS id C494B35C0CE
	for <tiff@lists.maptools.org>; Tue, 26 Jan 2016 12:11:02 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org	[65.66.246.65])
	by blade.simplesystems.org (8.14.4+Sun/8.14.4)
	with ESMTP id	u0QHAxGd029322; Tue, 26 Jan 2016 11:10:59 -0600 (CST)
Date: Tue, 26 Jan 2016 11:10:59 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Aaron Boxer <boxerab@gmail.com>
In-Reply-To: 
 <CAK8GPyBN=y2YeEunmxuZnPYb64c1+C4wU6C=kkQn_EyPUGD1wA@mail.gmail.com>
Message-ID: <alpine.GSO.2.01.1601261103040.24533@freddy.simplesystems.org>
References:
	<CAK8GPyAzKfkxRzoG9BSLMT6WS1+pOuD5-cn08huFevXBAM9Y3g@mail.gmail.com>
	<CAGNS0RtXiz0qPgEuXpzVwJGvbv7TACX2JD-quMi_urwo7P05HA@mail.gmail.com>
	<CAK8GPyCHEWgbMgj23+f0c_xrv=cptBLVeeChC=Z=WBDq9Rvgiw@mail.gmail.com>
	<CAAcuQeYNCG9uANw33enwZ7EQM3D5g6Upn2N=FkZxHdckHMqX-g@mail.gmail.com>
	<CAK8GPyBN=y2YeEunmxuZnPYb64c1+C4wU6C=kkQn_EyPUGD1wA@mail.gmail.com>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);	Tue, 26 Jan 2016 11:11:00 -0600
 (CST)
Cc: TIFF mailing list <tiff@lists.maptools.org>
Subject: Re: [Tiff] OpenMP enabled libtiff
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-Assp-ID: fangorn.howardsilvan.com m1-28541-06272
X-Assp-Session: 7F063E6ADB90 (mail 1)
X-Assp-Detected-RIP: 65.66.246.65, 65.66.246.74
X-Assp-Source-IP: 65.66.246.65
X-Assp-Envelope-From: tiff-bounces@lists.maptools.org
X-Assp-Intended-For: faxguy@howardsilvan.com
X-Assp-Version: 2.3.3(14029) on fangorn.howardsilvan.com
X-Assp-Server-TLS: yes
X-Assp-Delay: not delayed (whitelisted); 26 Jan 2016 09:15:41 -0800
X-Assp-Whitelisted: Yes (whitelistdb)
Return-Path: tiff-bounces@lists.maptools.org
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

On Tue, 26 Jan 2016, Aaron Boxer wrote:
> 
> Yes, so you don't think there is a "quick and dirty" solution for speeding up compressed reading?
> 
> For my purposes, I am only interested in reading uncompressed files, so TIFFClientOpen
> on a memory buffer should be good enough.

Libtiff is very fast at reading from uncompressed files and I don't 
see much performance penalty as compared with accessing files using 
system APIs.

> But, I still think it is a shame to leave the library single threaded in this multi-core world.
> It is just finding the time to work on improvements.

It is likely that adding threading would just make it slower for many 
common cases and it adds a link-time dependency which otherwise does 
not exist.  It is much better to enable threaded applications to make 
better use of libtiff when accessing one file.  What works in one use 
case may be totally inappropriate for another.  Preserve the 
application writer's freedom to chose the best solution for the 
application.  Most importantly, we can not afford to break the 
existing libtiff API and ABI.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/


