diff options
author | Marek Habersack <grendel@twistedcode.net> | 2008-05-28 05:38:23 +0400 |
---|---|---|
committer | Marek Habersack <grendel@twistedcode.net> | 2008-05-28 05:38:23 +0400 |
commit | b19cf7ba52df150b6e64b18a35bb838079532513 (patch) | |
tree | c77da5d2495dbb27426b585d1a0f497f14ef6d62 /mcs/class/Novell.Directory.Ldap | |
parent | dbb9e638ed821ecbb63aa0fcc15bbae8d31a8072 (diff) |
2008-05-27 Marek Habersack <mhabersack@novell.com>
* ResourceReader.cs: reimplement the way resources are read when
enumerator is used. The resource indexes and names are read in
ReadHeaders when ResourceReader is created and the resource values
are read and cached when the enumerator is created. This removed a
lot of unnecessary locking and made the whole process more
efficient and faster (a test application would acquire the locks
40000 times durng a 1.7s run, right now it acquires the lock 1
time).
svn path=/trunk/mcs/; revision=104224
Diffstat (limited to 'mcs/class/Novell.Directory.Ldap')
0 files changed, 0 insertions, 0 deletions