84c1762a62d7fc6638432c6c56e0422aa8cc6939 |
|
02-Jan-2013 |
Ben Gruver <bgruv@google.com> |
Merge DexBuffer functionality into DexBackedDexFile
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/VariableSizeIterator.java
|
0acc897cddb531d60bc61f5a5cbc872e40b4df58 |
|
01-Jan-2013 |
Ben Gruver <bgruv@google.com> |
Refactor how method parameters are read/handled
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/VariableSizeIterator.java
|
12b970ed4dfad768002335503e49c348ea0ed69b |
|
11-Nov-2012 |
Ben Gruver <bgruv@google.com> |
Use collections instead of lists for variable size "lists" in the dex file Only things that can be accessed in the dex file in a random access manner should be exposed as a list. If the list must be read sequentially, it is exposed in the interface as a Collection if the size is available up-front or as an Iterable if the size can only be determined by iterating over the list.
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/VariableSizeIterator.java
|
65d969c23b5ef14f8a51c88fdb7c5d5319a1b555 |
|
11-Nov-2012 |
Ben Gruver <bgruv@google.com> |
Rename VariableSizeIterator to VariableSizeLookaheadIterator This improves the implementation, and is now used for debug info
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/VariableSizeIterator.java
|
d1662b67fecaf835227aff3a136949a2358ccd4e |
|
03-Nov-2012 |
Ben Gruver <bgruv@google.com> |
Refactor dexbacked implementations Made construction of a new dexbacked item as light weight as possible, only the very mimimum in computed/stored. Some of the values that were previously calculated/loaded in the constructor are now lazily loaded upon first use. In general, nothing is cached, unless the item can't be fully read by the consumer without causing the value to be computed multiple times. Otherwise, it is up to the consume to decide if/when/what they want to cache.
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/VariableSizeIterator.java
|