The cost of allocating memory and cheating like crazy for best performance

added by DotNetKicks
4/5/2017 10:09:45 AM

2 Kicks, 200 Views

With RavenDB, we have quite early on realized that the cost of memory allocation was too prohibitive to allow us to use it for most common tasks. So we manage our own memory, but we do that with a pattern. All operations are always done inside a scope, that scope define the boundary of the operation.