Proposal for std.path replacement

Regan Heath regan at netmail.co.nz
Mon Mar 7 07:14:53 PST 2011


On Mon, 07 Mar 2011 15:07:59 -0000, Adam D. Ruppe  
<destructionator at gmail.com> wrote:

> spir wrote:
>> I would definitely love an inter-OS standard for storing the
>> MIME-type in every file's first byte.
>
> A better solution would be to store it in the filename. Might
> want more detail than one byte could allow too, so perhaps allowing
> three or four bytes would be a good answer.
>
> With the type in the filename, you can determine it easily from
> a directory listing without needing to open every individual file.
> This would make a big difference in listing speed on a slow filesystem
> and by using the name, it is compatible with all systems too.

:P

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d mailing list