107a98686a
Refactored every part in the code that used that damn foreach loop. All assemblies are now loaded on startup into an array, and the results of GetType() on each are concatenated into another array. The parts of the code that were loading the assemblies and scanning them themselves now look to ReflectMan.Types, and all disk I/O is limited to the first time ReflectMan is accessed. While I was there I also replaced some other foreach loops with array comprehensions and such to speed things up - there is a noticeable improvement. It doesn't seem to have broken anything, but I'd appreciate if someone could do more stress testing for me. |
||
---|---|---|
.. | ||
AppscapeMain.cs | ||
AppscapeMain.Designer.cs | ||
AppscapeMain.resx | ||
DesktopWidgetWebsite.cs | ||
DesktopWidgetWebsite.Designer.cs | ||
DesktopWidgetWebsite.resx | ||
MainHomepage.cs | ||
MainHomepage.Designer.cs | ||
MainHomepage.resx | ||
ShiftGames.cs | ||
ShiftGames.Designer.cs | ||
ShiftGames.resx | ||
ShiftSoft.cs | ||
ShiftSoft.Designer.cs | ||
ShiftSoft.resx | ||
ShiftSoft_Ping.cs | ||
ShiftSoft_Ping.Designer.cs | ||
ShiftSoft_Ping.resx |