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()
查找差异