Commit d624548
authored
Replace
* Replace `relpath` with cheaper function
Since we call `relpath` for every directory and file
in the directory tree before any tests start, we want
this to be as cheap as possible (to minimise latency).
Hopefully this new function is valid on Windows, but
I've no machine to test that :/
* Make type-stable
* Change fields to SubString to save an allocrelpath with cheaper function (#174)1 parent e8295b0 commit d624548
File tree
4 files changed
+47
-8
lines changed- src
- test
4 files changed
+47
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
636 | 652 | | |
637 | 653 | | |
638 | 654 | | |
| |||
642 | 658 | | |
643 | 659 | | |
644 | 660 | | |
645 | | - | |
| 661 | + | |
646 | 662 | | |
647 | 663 | | |
648 | 664 | | |
| |||
675 | 691 | | |
676 | 692 | | |
677 | 693 | | |
678 | | - | |
| 694 | + | |
679 | 695 | | |
680 | 696 | | |
681 | 697 | | |
| |||
693 | 709 | | |
694 | 710 | | |
695 | 711 | | |
696 | | - | |
| 712 | + | |
697 | 713 | | |
698 | 714 | | |
699 | 715 | | |
| |||
745 | 761 | | |
746 | 762 | | |
747 | 763 | | |
748 | | - | |
| 764 | + | |
749 | 765 | | |
750 | 766 | | |
751 | 767 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
378 | 401 | | |
0 commit comments