Commit 428defa
committed
job-list: add nodelist hostlist to job_data
Problem: In the near future it'd be convenient to do calculations
on the job nodelist, but it often needs to be in a hostlist
data structure for processing. We'd like to avoid converting the
nodelist to hostlist struct over and over again.
Add a field into the job_data struct to hold a cached version of the
nodelist in a hostlist struct.1 parent 90ddf93 commit 428defa
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
0 commit comments