Diff
checker
文本
文本
圖像
文檔
Excel
文件夾
Legal
Enterprise
桌面版
定價
登入
下載 Diffchecker 桌面版
比較文本
尋找兩個文字檔案之間的差異
工具
歷史
即時編輯器
摺疊未變更行
關閉換行
檢視
拆分
統一
比對精度
智能
單詞
字符
語法突出顯示
選擇語法
忽略
文字轉換
前往第一個差異
編輯輸入
Diffchecker Desktop
執行Diffchecker最安全的方式。取得Diffchecker桌面應用程式:您的差異永遠不會離開您的電腦!
取得桌面版
Untitled diff
建立於
8 年前
差異永不過期
清除
匯出
分享
解釋
20 刪除
行
總計
刪除
字符
總計
刪除
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
45 行
全部複製
20 新增
行
總計
新增
字符
總計
新增
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
45 行
全部複製
複製
已複製
複製
已複製
for (...) n +=
(i*i); return
2 *
n
for (...) n +=
2*
(i*i); return
n
public int
square_i
_two
();
public int
two_
square_i
();
descriptor: ()I
descriptor: ()I
flags: ACC_PUBLIC
flags: ACC_PUBLIC
Code:
Code:
複製
已複製
複製
已複製
stack=
3
, locals=3, args_size=1
stack=
4
, locals=3, args_size=1
0: iconst_0
0: iconst_0
1: istore_1
1: istore_1
2: iconst_0
2: iconst_0
3: istore_2
3: istore_2
4: iload_2
4: iload_2
5: aload_0
5: aload_0
6: getfield #2 // Field size:I
6: getfield #2 // Field size:I
複製
已複製
複製
已複製
9: if_icmpge
24
9: if_icmpge
26
12: iload_1
12: iload_1
複製
已複製
複製
已複製
13:
iload
_2
13:
iconst
_2
14: iload_2
14: iload_2
複製
已複製
複製
已複製
15:
imul
15:
iload_2
16:
iadd
16:
imul
17:
istore_1
17:
imul
18
: iinc 2, 1
18: iadd
21
: goto 4
19:
istore_1
24: iconst_2
20
: iinc 2, 1
25
: iload_1
23
: goto 4
26: imul
26
: iload_1
27: ireturn
27: ireturn
LineNumberTable:
LineNumberTable:
複製
已複製
複製
已複製
line
63
: 0
line
54
: 0
line
64
: 2
line
55
: 2
line
65
: 12
line
56
: 12
line
64: 18
line
55: 20
line
67: 24
line
58: 26
LocalVariableTable:
LocalVariableTable:
Start Length Slot Name Signature
Start Length Slot Name Signature
複製
已複製
複製
已複製
4
20
2 i I
4
22
2 i I
0 28 0 this Lorg/sample/MyBenchmark;
0 28 0 this Lorg/sample/MyBenchmark;
2 26 1 n I
2 26 1 n I
StackMapTable: number_of_entries = 2
StackMapTable: number_of_entries = 2
frame_type = 253 /* append */
frame_type = 253 /* append */
offset_delta = 4
offset_delta = 4
locals = [ int, int ]
locals = [ int, int ]
frame_type = 250 /* chop */
frame_type = 250 /* chop */
複製
已複製
複製
已複製
offset_delta =
19
offset_delta =
21
RuntimeVisibleAnnotations:
RuntimeVisibleAnnotations:
0: #25()
0: #25()
已保存差異
原始文本
開啟檔案
for (...) n += (i*i); return 2 *n public int square_i_two(); descriptor: ()I flags: ACC_PUBLIC Code: stack=3, locals=3, args_size=1 0: iconst_0 1: istore_1 2: iconst_0 3: istore_2 4: iload_2 5: aload_0 6: getfield #2 // Field size:I 9: if_icmpge 24 12: iload_1 13: iload_2 14: iload_2 15: imul 16: iadd 17: istore_1 18: iinc 2, 1 21: goto 4 24: iconst_2 25: iload_1 26: imul 27: ireturn LineNumberTable: line 63: 0 line 64: 2 line 65: 12 line 64: 18 line 67: 24 LocalVariableTable: Start Length Slot Name Signature 4 20 2 i I 0 28 0 this Lorg/sample/MyBenchmark; 2 26 1 n I StackMapTable: number_of_entries = 2 frame_type = 253 /* append */ offset_delta = 4 locals = [ int, int ] frame_type = 250 /* chop */ offset_delta = 19 RuntimeVisibleAnnotations: 0: #25()
更改後文本
開啟檔案
for (...) n += 2*(i*i); return n public int two_square_i(); descriptor: ()I flags: ACC_PUBLIC Code: stack=4, locals=3, args_size=1 0: iconst_0 1: istore_1 2: iconst_0 3: istore_2 4: iload_2 5: aload_0 6: getfield #2 // Field size:I 9: if_icmpge 26 12: iload_1 13: iconst_2 14: iload_2 15: iload_2 16: imul 17: imul 18: iadd 19: istore_1 20: iinc 2, 1 23: goto 4 26: iload_1 27: ireturn LineNumberTable: line 54: 0 line 55: 2 line 56: 12 line 55: 20 line 58: 26 LocalVariableTable: Start Length Slot Name Signature 4 22 2 i I 0 28 0 this Lorg/sample/MyBenchmark; 2 26 1 n I StackMapTable: number_of_entries = 2 frame_type = 253 /* append */ offset_delta = 4 locals = [ int, int ] frame_type = 250 /* chop */ offset_delta = 21 RuntimeVisibleAnnotations: 0: #25()
尋找差異