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

Re: [PATCH] Issue #1295

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-05-09 02:46:28 CEST

Mark Grosberg wrote:

>>>>it strikes me that you're complicating things enormously, *and* you
>>>>introduced a quadratic algorithm for tagging the array.
>>>>
>>>>
>>>>
>>>>
>>>Why?
>>>
>>>
>>>
>>Why what? :-)
>>
>>
>
>Why use a hash.
>
>Now, what do I do if I can't allocate memory for the hash table. Will
>apr_hash_make() ever return NULL? If so, what do I do. I will have to
>throw an svn_erorr_t. How do I make one?
>
>
Ah, I see the problem, you don't know how memory allocation works in
Subversion. :-)
Well, don't worry; apr_hash_make will never return NULL, and we never
generate out-of-memory errors.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 9 02:49:17 2003

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

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