Why is the performance of an immutable list over 16 times slower than a standard list? I took a peek at what it was actually doing, and it made a lot of sense. In order to maintain efficient indexing access, the actual storage of the data in the immutable list is a binary tree. With the key being used as the indexer. This result is a much higher cost for pretty much everything. Let us look at the following:
direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; line-height: 12pt; padding-right: 0px; width: 100%; background-color: #f4f4f4"> 1: var listsp = Stopwatch.StartNew();
Update: Corrected today’s post number - looks like my backspaces I though were correcting the URL Slug actually ended up breaking the post title - I really must automate this bit of the process! Software Announcing TypeScript 0.9.5 - TypeScript - Jonathan Turner announces the release of TypeScript 0.9.5, a release focused on improving quality and stability [...]
source: pedrolamas.com Windows Phone image processing and format support has always been lacking a bit, especially when compared with all the GDI+ capabilities one has available in the full .NET Framework. For instance, you can read JPEG and PNG files, but you can only save to JPEG, as there is no support to save to PNG directly on the platform. Saving to PNG has been quite easy since the beginning of Windows Phone 7 by using 3rd party libraries, and on this chapter, .NET Image Tools is the most used one!
But personally, using Image Tools always presented two major problems: it requires SharpZipLib (a GPL licensed library) to handle Zlib compression it's quite slow and uses a lot of memory ...Read more...(Read whole news on source site)
source: http://blog.rajenki.com MVVM architecture If you attended the session, you already know I explicitly used my own implementation of MVVM as opposed to using frameworks like MVVM Light Toolkit or Caliburn Micro. The basic architecture of the solution is outlined in the schematic below: In the MVVM_Base download at the bottom of this post, you'll find the base Windows 8.1 app that implements this architecture, complete with sample data in the new JSON format supported in Windows 8.1 apps. Portable Class Libraries One of the options to share
your code across Windows and Windows Phone is using Portable Class Libraries. The great thing about Portable Class Libraries (PCLs) is that it provides a way around the hard coupling between the type of class library you can reference from a specific app project. Traditionally you can only reference Windows Phone class libraries from a Windows Phone app project and the same goes for Windows Store, but with PCLs, you can reference the same library from a Windows Store, Windows Phone and even .NET and Silverlight project. ...Read more...(Read whole news on source site)
As we know, the stored procedure is designed to handle computations involving complex business logics.
In the past, the data structure and business logics were so simple that one SQL statement was enough to achieve user's computational goal. With the rapid growing of information industry, users frequently find that they need to achieve the increasingly complex computational goals to out-perform their competitors. To address such computations, SQL alone is far from enough. Database programmers have the additional demands regarding the judge and loop statements, branches at multiple levels, or more accurate data transverse operations, as well as decomposing an obscure
goal into several clear and actionable steps correlated with complex logics. It was for all these demands that the stored procedure was introduced.
The stored procedure has so far become the preferred tools for complex data computations, playing an quite important role. However, stored procedures still cause various inconveniences. For example, lots of their functions are inconvenient - hard to debug or migrate; and there are some databases with rather weak stored procedures. These problems sometimes affect the efficiency of database developers seriously.
The inconvenient functions of stored procedure include the incomplete step-by-step computation, weak support for set-lized data computing, no sequence...(Read whole news on source site)