equal
deleted
inserted
replaced
17 code = (PyCodeObject *)Py_CompileString(R"py( |
17 code = (PyCodeObject *)Py_CompileString(R"py( |
18 from parsers import parse_index2 |
18 from parsers import parse_index2 |
19 for inline in (True, False): |
19 for inline in (True, False): |
20 try: |
20 try: |
21 index, cache = parse_index2(data, inline) |
21 index, cache = parse_index2(data, inline) |
|
22 index.slicechunktodensity(list(range(len(index))), 0.5, 262144) |
|
23 for rev in range(len(index)): |
|
24 node = index[rev][7] |
|
25 partial = index.shortest(node) |
|
26 index.partialmatch(node[:partial]) |
22 except Exception as e: |
27 except Exception as e: |
23 pass |
28 pass |
24 # uncomment this print if you're editing this Python code |
29 # uncomment this print if you're editing this Python code |
25 # to debug failures. |
30 # to debug failures. |
26 # print e |
31 # print e |