From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p0ANm6w0003562 for ; Mon, 10 Jan 2011 18:48:06 -0500 (EST) Received: from smtp-2.sys.kth.se (localhost [127.0.0.1]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 4A00F14DC55; Tue, 11 Jan 2011 00:48:00 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([127.0.0.1]) by smtp-2.sys.kth.se (smtp-2.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HcVpdcq5utWv; Tue, 11 Jan 2011 00:47:59 +0100 (CET) X-KTH-Auth: kristaps [85.8.60.237] X-KTH-mail-from: kristaps@bsd.lv Received: from h85-8-60-237.dynamic.se.alltele.net (h85-8-60-237.dynamic.se.alltele.net [85.8.60.237]) by smtp-2.sys.kth.se (Postfix) with ESMTP id DAE1A14D7CC; Tue, 11 Jan 2011 00:47:58 +0100 (CET) Message-ID: <4D2B9AAE.60708@bsd.lv> Date: Tue, 11 Jan 2011 00:47:58 +0100 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 To: tech@mdocml.bsd.lv CC: Ingo Schwarze Subject: Re: [PATCH] implement .rm References: <20110110225213.GA4964@iris.usta.de> <4D2B91DA.3000607@bsd.lv> <20110110234131.GB4964@iris.usta.de> In-Reply-To: <20110110234131.GB4964@iris.usta.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > Thus, i will believe this gives us a measureable improvement > when i see the measurement! > > Using hash tables (or RB-trees?) probably makes sense, but please > try to not hack up a third (or fourth? i have lost count) > independent hash table implementation in mandoc. ;-) Ingo, You've a point in this. It's true that all roff, mdoc, and man name lookups generally have 1-3 letters. Let me look into a nice, unified interface for hashing these. If it saves space and speed, I'll float a patch for review. Thanks, Kristaps -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv