Diff
checker
文本
文本
圖像
文檔
Excel
文件夾
Legal
Enterprise
桌面版
定價
登入
下載 Diffchecker 桌面版
比較文本
尋找兩個文字檔案之間的差異
工具
歷史
即時編輯器
隱藏空白變更
摺疊未變更行
關閉換行
檢視
拆分
統一
比對精度
智能
單詞
字符
文字樣式
變更外觀
語法突出顯示
選擇語法
忽略
文字轉換
前往第一個差異
編輯輸入
Diffchecker Desktop
執行Diffchecker最安全的方式。取得Diffchecker桌面應用程式:您的差異永遠不會離開您的電腦!
取得桌面版
Optimise DateTime.ObjectEquals
建立於
4 年前
差異永不過期
清除
匯出
分享
解釋
22 刪除
行
總計
刪除
字符
總計
刪除
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
53 行
全部複製
16 新增
行
總計
新增
字符
總計
新增
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
49 行
全部複製
複製
已複製
複製
已複製
## .NET
7
.0.0 (
7.0.22.47809
), X64 RyuJIT AVX2
## .NET
8
.0.0 (
42.42.42.42424
), X64 RyuJIT AVX2
; System.DateTime.Equals(System.Object)
; System.DateTime.Equals(System.Object)
push rdi
push rdi
push rsi
push rsi
複製
已複製
複製
已複製
push rbx
sub rsp,
28
sub rsp,
20
mov rdi,rcx
mov rdi,rcx
mov rsi,rdx
mov rsi,rdx
mov rcx,rsi
mov rcx,rsi
call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
test rax,rax
test rax,rax
je short M01_L01
je short M01_L01
複製
已複製
複製
已複製
mov rbx,3FFFFFFFFFFFFFFF
and rbx,[rdi]
mov rcx,[rsi]
mov rcx,[rsi]
cmp rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
cmp rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
je short M01_L00
je short M01_L00
mov rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
mov rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
mov rdx,rsi
mov rdx,rsi
call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)]
M01_L00:
M01_L00:
mov rax,[rsi+8]
mov rax,[rsi+8]
複製
已複製
複製
已複製
mov rdx,
3FFFFFFFFFFFFFFF
mov rdx,
[rdi]
and
rax,rdx
xor
rax,rdx
cmp
rbx,
rax
shl
rax
,2
sete al
sete al
movzx eax,al
movzx eax,al
複製
已複製
複製
已複製
add rsp,
20
add rsp,
28
pop rbx
pop rsi
pop rsi
pop rdi
pop rdi
ret
ret
M01_L01:
M01_L01:
xor eax,eax
xor eax,eax
複製
已複製
複製
已複製
add rsp,
20
add rsp,
28
pop rbx
pop rsi
pop rsi
pop rdi
pop rdi
ret
ret
複製
已複製
複製
已複製
Text moved from lines 48-52
int 3
int 3
int 3
int 3
int 3
int 3
mov rax,[rcx]
mov rax,[rcx]
xor rax,rdx
xor rax,rdx
shl rax,2
shl rax,2
sete al
sete al
movzx eax,al
movzx eax,al
ret
ret
int 3
int 3
int 3
int 3
複製
已複製
複製
已複製
Text moved to lines 35-39
int 3
; Total bytes of code
115
int 3
int 3
int 3
int 3
; Total bytes of code
136
已保存差異
原始文本
開啟檔案
## .NET 7.0.0 (7.0.22.47809), X64 RyuJIT AVX2 ; System.DateTime.Equals(System.Object) push rdi push rsi push rbx sub rsp,20 mov rdi,rcx mov rsi,rdx mov rcx,rsi call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] test rax,rax je short M01_L01 mov rbx,3FFFFFFFFFFFFFFF and rbx,[rdi] mov rcx,[rsi] cmp rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] je short M01_L00 mov rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] mov rdx,rsi call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] M01_L00: mov rax,[rsi+8] mov rdx,3FFFFFFFFFFFFFFF and rax,rdx cmp rbx,rax sete al movzx eax,al add rsp,20 pop rbx pop rsi pop rdi ret M01_L01: xor eax,eax add rsp,20 pop rbx pop rsi pop rdi ret mov rax,[rcx] xor rax,rdx shl rax,2 sete al movzx eax,al ret int 3 int 3 int 3 int 3 int 3 int 3 int 3 ; Total bytes of code 136
更改後文本
開啟檔案
## .NET 8.0.0 (42.42.42.42424), X64 RyuJIT AVX2 ; System.DateTime.Equals(System.Object) push rdi push rsi sub rsp,28 mov rdi,rcx mov rsi,rdx mov rcx,rsi call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] test rax,rax je short M01_L01 mov rcx,[rsi] cmp rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] je short M01_L00 mov rcx,[System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] mov rdx,rsi call qword ptr [System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib]](System.Reflection.Assembly)] M01_L00: mov rax,[rsi+8] mov rdx,[rdi] xor rax,rdx shl rax,2 sete al movzx eax,al add rsp,28 pop rsi pop rdi ret M01_L01: xor eax,eax add rsp,28 pop rsi pop rdi ret int 3 int 3 int 3 int 3 int 3 int 3 mov rax,[rcx] xor rax,rdx shl rax,2 sete al movzx eax,al ret int 3 int 3 ; Total bytes of code 115
尋找差異