c# Programming Glossary: granularity
In C# would it be better to use Queue.Synchronized or lock() for thread safety? http://stackoverflow.com/questions/338712/in-c-sharp-would-it-be-better-to-use-queue-synchronized-or-lock-for-thread-saf always prefer locking. It means that you get to decide the granularity. If you just rely on the Synchronized wrapper each individual..
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 require sorting Summarizing the information into a coarser granularity You can do that without sorting simply using memory based hash..
Is a string property itself threadsafe? http://stackoverflow.com/questions/434890/is-a-string-property-itself-threadsafe this answer. The point about locking at a coarser granularity to allow things like appending is entirely valid as well. Usually..
Curve fitting points in 3D space http://stackoverflow.com/questions/4362498/curve-fitting-points-in-3d-space be able to guestimate the points in between and increase granularity to 1 second. Thus creating a virtual flight path in 3D space...
How do I determine a public holiday in Sql server? http://stackoverflow.com/questions/457176/how-do-i-determine-a-public-holiday-in-sql-server
Why does the lock object have to be static? http://stackoverflow.com/questions/5053172/why-does-the-lock-object-have-to-be-static it is common to use a lock at the appropriate chosen granularity . Sometimes that is static . More often IMO it isn't but is..
What is the impact of Thread.Sleep(1) in C#? http://stackoverflow.com/questions/508208/what-is-the-impact-of-thread-sleep1-in-c up every 3 4 ms. In order to get millisecond level timer granularity you have to use the Win32 multimedia timer C# wrapper . share..
Doxygen: hiding private/protected method…and tips http://stackoverflow.com/questions/562763/doxygen-hiding-private-protected-method-and-tips to hide files EXCLUDE List of file names Yet I need more granularity and thus shield users from unnecessery API noise. A sample dyxygen..
Does any one know of a faster method to do String.Split()? http://stackoverflow.com/questions/568968/does-any-one-know-of-a-faster-method-to-do-string-split careful about profiling this kind of low level detail. The granularity of the Windows PC timer might come into play and you may have..
|