JamesMenetrey / MemorySharp

A C# based memory editing library targeting Windows applications, offering various functions to extract and inject data and codes into remote processes to allow interoperability.
Other
634 stars 135 forks source link

Rewrite T[] Read<T> to have much much much better performance. #4

Closed xeropresence closed 8 years ago

xeropresence commented 9 years ago

Performance could be greatly improved further by writing an unmanaged module and use of unsafe code.

These changes pass the unit tests.

I wrote a patternscanner I'd like to get merged into the project. Since readbytes isn't public you have to go through T[] Read and its really really really slow.

JamesMenetrey commented 8 years ago

The pull request has been properly applied into the develop branch. Many thanks @cexikitin!

JamesMenetrey commented 8 years ago

As a side note, I improved the Write operation for arrays in the same way. :)