Add symmetry and pre-emptively improve performance (A4)
The test for binary dictionary will soon entail decrypting and uncompressing files if necessary to test for their headers, and will become much slower than it is. It's better to be able to detect the XML format too, and leave the slower test for last. Bug: 7388852 Change-Id: I6b9a7944de80217e1571cab65dcd1cff347b3046
Showing
- tools/dicttool/src/com/android/inputmethod/latin/dicttool/DictionaryMaker.java 6 additions, 3 deletions...m/android/inputmethod/latin/dicttool/DictionaryMaker.java
- tools/dicttool/src/com/android/inputmethod/latin/dicttool/XmlDictInputOutput.java 33 additions, 0 deletions...ndroid/inputmethod/latin/dicttool/XmlDictInputOutput.java
Please register or sign in to comment