[Mono-list] Can mono can be made case insensitive.
Jonathan Pryor
jonpryor@vt.edu
Fri, 15 Oct 2004 18:48:34 -0400
On Fri, 2004-10-15 at 08:24, Lokesh N wrote:
> Is mono case sensitive ?
Mono is as case-sensitive as the underlying file-system. :-)
(Meaning it's case-insensitive on Windows and case-sensitive on Unix and
Unix-like systems.)
> If so can mono be made case insensitive
Not likely. At least, not efficiently. On a case-sensitive
file-system, Mono would need to try every permutation of a filename to
see if it exists, e.g.
admin
Admin
aDmin
adMin
...
There are 2^5 (32) such permutations. It gets worse as the length of
the filename increase, and this is *not* something we'd want to do when
accessing every file in the system.
It's far faster for you to correct case-sensitivity issues in your code.
- Jon