Commit 72ed6f7
committed
Fix: Prevent redundant OUT column creation and add null check
- Moved OUT column creation outside inner loop to avoid redundant operations
- Added null check for pdb_records[r] to prevent processing undefined records
- Combined performance optimization with robustness improvement1 parent 04daaa6 commit 72ed6f7
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
718 | | - | |
719 | | - | |
| 718 | + | |
720 | 719 | | |
| 720 | + | |
| 721 | + | |
721 | 722 | | |
722 | 723 | | |
723 | 724 | | |
| |||
946 | 947 | | |
947 | 948 | | |
948 | 949 | | |
949 | | - | |
950 | | - | |
| 950 | + | |
951 | 951 | | |
| 952 | + | |
| 953 | + | |
952 | 954 | | |
953 | 955 | | |
954 | 956 | | |
| |||
0 commit comments