|
寻找字节集_BF | 整数型 | | |
被搜寻的字节集 | 字节集 | | | | 欲寻找的字节集 | 字节集 | | | | 起始搜寻位置 | 整数型 | | | | 置入代码 ({ 139, 69, 8, 83, 86, 87, 133, 192, 116, 122, 139, 117, 12, 133, 246, 116, 115, 139, 56, 139, 54, 133, 255, 116, 107, 133, 246, 116, 103, 106, 4, 88, 3, 248, 3, 240, 51, 201, 65, 139, 31, 3, 248, 139, 22, 3, 240, 131, 125, 16, 0, 137, 93, 12, 15, 69, 77, 16, 131, 233, 1, 137, 85, 8, 120, 66, 131, 251, 1, 124, 61, 131, 250, 1, 124, 56, 139, 195, 43, 194, 59, 200, 127, 48, 131, 202, 255, 59, 203, 125, 30, 51, 219, 141, 65, 1, 137, 69, 16, 138, 4, 57, 139, 77, 16, 58, 4, 51, 117, 15, 67, 59, 93, 8, 124, 233, 139, 209, 43, 211, 66, 139, 194, 235, 10, 59, 77, 12, 124, 217, 235, 245, 131, 200, 255, 95, 94, 91, 93, 194, 12, 0 })返回 (0 )|
寻找字节集_Sunday | 整数型 | | |
被搜寻的字节集 | 字节集 | | | | 欲寻找的字节集 | 字节集 | | | | 起始搜寻位置 | 整数型 | | | | 置入代码 ({ 139, 69, 8, 129, 236, 4, 4, 0, 0, 83, 86, 133, 192, 15, 132, 246, 0, 0, 0, 139, 93, 12, 133, 219, 15, 132, 235, 0, 0, 0, 139, 0, 139, 27, 133, 192, 15, 132, 223, 0, 0, 0, 133, 219, 15, 132, 215, 0, 0, 0, 106, 4, 90, 3, 194, 3, 218, 139, 51, 3, 218, 139, 8, 3, 194, 51, 210, 137, 117, 8, 66, 137, 69, 12, 131, 125, 16, 0, 15, 69, 85, 16, 131, 234, 1, 137, 85, 16, 15, 136, 171, 0, 0, 0, 131, 249, 1, 15, 140, 162, 0, 0, 0, 131, 254, 1, 15, 140, 153, 0, 0, 0, 43, 206, 137, 77, 252, 59, 209, 15, 143, 140, 0, 0, 0, 139, 85, 8, 131, 206, 255, 87, 185, 0, 1, 0, 0, 141, 189, 252, 251, 255, 255, 139, 198, 243, 171, 51, 201, 15, 182, 4, 25, 137, 140, 133, 252, 251, 255, 255, 65, 59, 202, 124, 240, 139, 85, 16, 139, 77, 12, 139, 125, 252, 131, 101, 16, 0, 139, 117, 16, 138, 4, 10, 106, 255, 58, 4, 30, 94, 117, 23, 139, 69, 16, 66, 64, 137, 69, 16, 59, 69, 8, 124, 229, 139, 242, 43, 240, 70, 139, 198, 95, 235, 53, 59, 215, 125, 247, 139, 69, 8, 3, 194, 137, 69, 16, 15, 182, 4, 8, 139, 132, 133, 252, 251, 255, 255, 137, 69, 12, 59, 198, 117, 6, 139, 85, 16, 66, 235, 8, 139, 69, 8, 43, 69, 12, 3, 208, 59, 215, 126, 167, 235, 201, 131, 200, 255, 94, 91, 201, 194, 12, 0 })返回 (0 )
上面的汇编置入代码部分是下面的C艹专门针对易语言的字节集结构开了最大优化得到的,如果有大佬还有更好的写法可以继续优化!
注释掉的部分是为了触发编译器的优化
理论上这个Sunday算法应该是非常快的了,
|