Appcrash Error

User avatar
Jarod46
Administrator
Administrator
Posts: 1871
Joined: Fri Aug 13, 2010 12:31 pm

Re: Appcrash Error

Post by Jarod46 » Tue Dec 03, 2019 12:09 pm

Ok thanks, and with this version ?
MyMemory-x64_alt2.zip
You do not have the required permissions to view the files attached to this post.
Only account support via private messages
Low English level, sorry

DartKotik
Contributor
Contributor
Posts: 1009
Joined: Sat Jan 07, 2017 4:00 pm

Re: Appcrash Error

Post by DartKotik » Tue Dec 03, 2019 2:01 pm

Why are you using this code?

Code: Select all

		internal static string[] Generate_PopRegistersAndFlags()
		{
			return new List<string>
			{
				"popfq",
				"pop r15",
				"pop r14",
				"pop r13",
				"pop r12",
				"pop r11",
				"pop r10",
				"pop r9",
				"pop r8",
				"pop rdi",
				"pop rsi",
				"pop rbp",
				"pop rbx",
				"pop rdx",
				"pop rcx",
				"pop rsp",
				"pop rsp",
				"pop rax"
			}.ToArray();
		}
Would not it be faster to use an array of immediately? Working with list is too slow. Examples for creation and sort arrays and lists

Code: Select all

Тест 	x86 	x64
(С++) С-style 	60ms 	52ms
(С++) std::array 	51ms 	60ms
(С++) std::vector 	147ms 	81ms
(C#) Array 	67ms 	90ms
(C#) unsafe Array 	63ms 	105ms
(C#) List 	395ms 	390ms
(C# + .NET Native) Array 	62ms 	59ms
(C# + .NET Native) unsafe Array 	63ms 	52ms
(C# + .NET Native) List 	274ms 	282ms
Source of benchmark https://github.com/gandjustas/PerfTestCSharpVsCPP
Sorry for my English. I translate with Google.
Quester Assistant plugin

daffyduck10
Junior Botter
Junior Botter
Posts: 4
Joined: Mon May 06, 2019 12:57 pm

Re: Appcrash Error

Post by daffyduck10 » Wed Dec 04, 2019 5:15 am

Jarod46 wrote:
Tue Dec 03, 2019 12:09 pm
Ok thanks, and with this version ? MyMemory-x64_alt2.zip
not work, client sturtup but close when login, not login to game, the client closes without errors

Post Reply

Who is online

Users browsing this forum: No registered users and 53 guests