PDF Preview:
PDF Title : | Pro .NET Memory Management |
---|---|
PDF Contents : | 15 Chapters |
Total Page : | 1091 Pages |
Author: | Konrad Kokosa |
PDF Size : | 11.2 MB |
Language : | English |
Rights : | prodotnetmemory.com |
PDF Link : | Available |
Summary
Here on this page, we have provided the latest download link for Pro .NET Memory Management PDF. Please feel free to download it on your computer/mobile. For further reference, you can go to prodotnetmemory.com
Pro .NET Memory Management – Book
In our data-oriented context, caveats of such approach should be immediately visible – data is spread all around such tree hierarchy. It is perfectly OK in regular OOP, where there are few business objects cooperating with each other. But it becomes a bottleneck if we have to process thousands or millions of similar entities, let’s say – vehicles, to update their position.
We could use the structure-of-arrays approach to keep a separate list of structs representing houses, vehicles, livings, and so on, so forth. This however is not very practical, and still, many algorithms may need to access a various sets of properties contained in those lists (breaking good data locality benefits).
The solution to this problem is proposed in the form of a so-called Entity Component System that, simply speaking, prefers composition over inheritance. As we will soon see, one of its foundations is good data locality consistent with the idea of structureof-arrays.
In Entity Component System, there are no types representing the house, vehicle, or any other living. Entities are being composed of dynamically adding and removing components, representing capabilities. Such entities are then processed by various systems, representing the required logic.
Pro .NET Memory Management PDF
Know more about our initiative
[yasr_visitor_votes size=”medium”]