-
"How I Lost 1180 Seconds" or "Putting S.DS Code on a Diet" – Conclusion.
(Note: this is the conclusion of a 4-part post). The last bit of optimization in my code, again, involved an understanding of data layering. The S.DS DirectoryEntry class is itself a layer on top of a layer on top of another layer. DirectoryEntry is a wrapper around Microsoft ADSI (Active Directory Services Interface). ADSI, in…
-
"How I Lost 1180 Seconds" or "Putting S.DS Code on a Diet" – Part 3
(Note: this is the 3rd of a 4 part post). To understand where the rest of the 1150 seconds of performance improvement came from, let’s first go back to the concept of n-tier design and understand further layering in the data tier. Remember that our high level algorithm includes a line that looks like this:…
-
"How I Lost 1180 Seconds" or "Putting S.DS Code on a Diet" – Part 2
(Note: this is the 2nd of a 4 part post). In order to explain why I did to speed up my code, let me first describe the general algorithm that I was working with. At the top level, the code looked (vaguely) like this: GroupInfo[] agi = DataLayer.GetCellGroupMembers( cell ); listView.Items.Clear(); foreach( GroupInfo gi in…
