Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: multi-line Strings Date: Tue, 18 Dec 2012 20:02:01 -0500 Organization: A noiseless patient Spider Lines: 16 Message-ID: References: <7f36342c-2331-4484-874b-4a0f8953f160@googlegroups.com> <1rfmfoqs8bzc6.4pavkn8829dk$.dlg@40tude.net> <16v4yulqhdd19$.qhn9q6330idh$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 19 Dec 2012 01:02:05 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="ffb8f7085759b339c1002252b48331a4"; logging-data="17052"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YSDalTBztVvE31QisDP++" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: Cancel-Lock: sha1:LjFAg7PxaNjQ17ZpyZeX/E4SBpk= Xref: csiph.com comp.lang.java.programmer:20490 On 12/18/2012 5:57 PM, Arved Sandstrom wrote: > [...] > Let me give you an example: the use of 31 in many functions for hashing > strings. What are you going to nominate as a name for that particular > number? Not precisely what you asked for, and not even the value that you asked for, and not in Java, but a colleague once found: #define HASHSIZE 51 /* a smallish prime */ You may cringe when you are ready, Gridley. -- Eric Sosman esosman@comcast-dot-net.invalid