c# Programming Glossary: reducing
How can I easily convert DataReader to List<T>? [duplicate] http://stackoverflow.com/questions/1464883/how-can-i-easily-convert-datareader-to-listt lots of IDataReader loops you will see the benefit of reducing the coding and errors without having to change the architecture..
Handling exceptions thrown by “Dispose” while unwinding nested “using” statements http://stackoverflow.com/questions/19238521/handling-exceptions-thrown-by-dispose-while-unwinding-nested-using-statement This question came along while I was looking at reducing the level of nested using . There's a neat answer suggesting..
Dependency Inject (DI) “friendly” library http://stackoverflow.com/questions/2045904/dependency-inject-di-friendly-library DI the library should still be as easy to use as possible reducing the amount of work a user has to do to create all these unimportant..
What's the point of the var keyword? http://stackoverflow.com/questions/209199/whats-the-point-of-the-var-keyword thing new SomeGeneric VeryLongTypename NestedTypename By reducing the duplication of information errors are eliminated. Note that..
What technique can protect a secret from a fully trusted user? http://stackoverflow.com/questions/2150912/what-technique-can-protect-a-secret-from-a-fully-trusted-user taxpayers pay for this insure the television against theft reducing the cost of a successful attack against me. and so on. Encrypting..
Reading large text files with streams in C# http://stackoverflow.com/questions/2161895/reading-large-text-files-with-streams-in-c-sharp is a block of bytes in memory used to cache data thereby reducing the number of calls to the operating system. Buffers improve..
How to inherit constructors? http://stackoverflow.com/questions/223058/how-to-inherit-constructors consider why you have so many constructors and consider reducing them to only one or two in the base class. The derived classes..
Removing Duplicate Images http://stackoverflow.com/questions/225210/removing-duplicate-images it by resizing the uploaded image to 150 pixels wide reducing it to greyscale rounding the value of each colour off to the..
Execute multiple SQL commands in one round trip http://stackoverflow.com/questions/2336362/execute-multiple-sql-commands-in-one-round-trip call. Although you don't want to care too much about reducing calls there can be legitimate reasons for this. I once was limited..
How can I protect my .NET assemblies from decompilation? http://stackoverflow.com/questions/2478230/how-can-i-protect-my-net-assemblies-from-decompilation of that. If you can't prevent piracy then how about merely reducing it This too is misguided. It only takes one person cracking..
How to fix the flickering in User controls http://stackoverflow.com/questions/2612487/how-to-fix-the-flickering-in-user-controls white or black hole won't be visible. Last but not least reducing the number of child controls is always a good approach to solve..
Put a program in the system tray at startup http://stackoverflow.com/questions/283632/put-a-program-in-the-system-tray-at-startup tray at startup I followed the commonly linked tip for reducing an application to the system tray http www.developer.com net..
ASP.NET Session size limitation http://stackoverflow.com/questions/2843237/asp-net-session-size-limitation is 20 min. One way to optimize memory consumption is reducing that but that is a trade off with user convenience. share..
Weak references http://stackoverflow.com/questions/310685/weak-references not actively in use. Whether or not this will be useful in reducing the memory consumption of your application will depend completely..
Regex replacements inside a StringBuilder http://stackoverflow.com/questions/3504850/regex-replacements-inside-a-stringbuilder might also want to consider trying to combine replacements reducing the number of regexes and thus intermediate strings used. share..
Need a way to sort a 100 GB log file by date [closed] http://stackoverflow.com/questions/3795029/need-a-way-to-sort-a-100-gb-log-file-by-date right away . So SORT is our best guess for now. That said reducing the data set will gain more than any sort utility. How much..
C# memory usage http://stackoverflow.com/questions/3803003/c-sharp-memory-usage related questions http stackoverflow.com questions 1343374 reducing memory usage of net applications http stackoverflow.com questions..
Programmatically limit CPU Usage of a Thread running inside a Service http://stackoverflow.com/questions/482592/programmatically-limit-cpu-usage-of-a-thread-running-inside-a-service main impact of the back ground task and you may find that reducing the priority is not sufficient since the disk IO will continue..
Byte for byte serialization of a struct in C# http://stackoverflow.com/questions/628843/byte-for-byte-serialization-of-a-struct-in-c-sharp the layout explicitly. At that point of course you're reducing the CLR's ability to optimise a bit you'll end up with unaligned..
“Invalid attempt to call Read when reader is closed” error (for lengthy operations only) http://stackoverflow.com/questions/6775136/invalid-attempt-to-call-read-when-reader-is-closed-error-for-lengthy-operatio If you really need to read so many rows perhaps consider reducing it into smaller chunks say only read 1000 at a time share improve..
|