[Top][All Lists]

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

Re: A few issues with thumbs.el

From: David Kastrup
Subject: Re: A few issues with thumbs.el
Date: Mon, 30 May 2005 22:38:56 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Juanma Barranquero <address@hidden> writes:

>> How about the following template?
>> (format "%s/%s-%x.jpg"
>>         thumbs-thumbsdir
>>         (file-name-nondirectory filename)
>>         (sxhash contents))
> A problem is that (sxhash contents) will be slower; I have no issue
> with that, but perhaps someone will. Other than that, I'm OK with any
> fix that produces valid filenames and minimizes collisions.

I'd rather hash the file modification date rather than the contents.
What's good enough for `make'...

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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