update README benchmark video

This commit is contained in:
MG193.7
2026-09-12 05:35:00 +08:00
parent b20ff0b310
commit ffb00e6af5
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -10,3 +10,5 @@ We will demonstrate this architecture live against a 352MB commercial APK. Droid
# Benchmark
![Benchmark](./docs/benchmark_all_en.png)
https://github.com/user-attachments/assets/4c4a6813-8561-490c-a573-ef113da861b6
+2 -2
View File
@@ -270,8 +270,8 @@ class DexBuilder:
# so code sorted every static field and methods, if the list is ordered by idx, there is no way to have diff idx invalid issue.
# however the sort behavior cause the static_fields we collected do not match the order of current static_fields ready to writen.
# fixed by pin class's own fields before remap fields used by bytecodes
# count
# count
s_f = sorted([f for f in self.im.fields_obj if f.is_static], key=lambda f: self.im.field_restruct_idx.get(f.index, 0))
i_f = sorted([f for f in self.im.fields_obj if not f.is_static], key=lambda f: self.im.field_restruct_idx.get(f.index, 0))
d_m = sorted([m for m in self.im.methods_obj if m.is_virtual == False], key=lambda m: self.im.method_restruct_idx.get(m.index, 0))