vndk-def: Use find() to find terminating char
This commit replaces naive loop with `find(b'\0', offset)`. The performance is improved by 3x if the script was run by a python2 interpreter. Test: ./tests/run.py Change-Id: I68d579baeab3c4c7f0928194a6c06b0969346d5f
Loading
Please sign in to comment