Commit 454cd01
authored
Recompute priority only once during
While queueing bundles, I noticed that we compute the priority of the
bundle (i.e., the number of instructions) twice: once directly in
`Env::queue_bundles` and again within
`Env::recompute_bundle_properties`. This change removes the first
instance, saving some small amount of time iterating over the bundle's
ranges.init (#238)1 parent 2ead347 commit 454cd01
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
382 | 383 | | |
383 | 384 | | |
384 | 385 | | |
| |||
390 | 391 | | |
391 | 392 | | |
392 | 393 | | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | 394 | | |
397 | | - | |
398 | | - | |
| 395 | + | |
| 396 | + | |
399 | 397 | | |
400 | 398 | | |
401 | 399 | | |
| |||
0 commit comments