RavenDB-2269 Minor
RavenDB-2268 Added AggressiveInlining to MemoryCompare method
RavenDB-2268 Minor optimizations
RavenDB-2268 Optimization - getting rid of tuples and too many unnecessary allocations of them
RavenDB-2268 No need to call copying method if there is 0 bytes to copy