Commit a632716
Release Manager
sagemathgh-41188: Refactor degree sequence functions
Refactor degree sequence generation to use generators, reducing memory
usage. Fix sagemath#41187
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [ ] The title is concise and informative.
- [ ] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.
### ⌛ Dependencies
<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
URL: sagemath#41188
Reported by: Chenxin Zhong
Reviewer(s): Chenxin Zhong, Martin Rubey, Max Alekseyev, user202729
1 file changed
+53
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | 256 | | |
266 | 257 | | |
267 | 258 | | |
| |||
275 | 266 | | |
276 | 267 | | |
277 | 268 | | |
278 | | - | |
279 | 269 | | |
280 | 270 | | |
281 | 271 | | |
282 | | - | |
283 | 272 | | |
284 | 273 | | |
285 | 274 | | |
| |||
334 | 323 | | |
335 | 324 | | |
336 | 325 | | |
337 | | - | |
| 326 | + | |
338 | 327 | | |
339 | | - | |
| 328 | + | |
340 | 329 | | |
341 | | - | |
| 330 | + | |
342 | 331 | | |
343 | | - | |
| 332 | + | |
344 | 333 | | |
345 | 334 | | |
346 | 335 | | |
| |||
414 | 403 | | |
415 | 404 | | |
416 | 405 | | |
417 | | - | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
418 | 425 | | |
419 | 426 | | |
| 427 | + | |
| 428 | + | |
420 | 429 | | |
421 | 430 | | |
422 | 431 | | |
423 | | - | |
424 | 432 | | |
425 | 433 | | |
426 | | - | |
| 434 | + | |
| 435 | + | |
427 | 436 | | |
428 | | - | |
| 437 | + | |
| 438 | + | |
429 | 439 | | |
430 | 440 | | |
431 | 441 | | |
432 | 442 | | |
433 | 443 | | |
434 | 444 | | |
435 | 445 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
460 | 451 | | |
461 | 452 | | |
462 | | - | |
| 453 | + | |
463 | 454 | | |
464 | 455 | | |
465 | 456 | | |
| |||
468 | 459 | | |
469 | 460 | | |
470 | 461 | | |
| 462 | + | |
| 463 | + | |
471 | 464 | | |
472 | 465 | | |
473 | 466 | | |
| |||
479 | 472 | | |
480 | 473 | | |
481 | 474 | | |
482 | | - | |
| 475 | + | |
483 | 476 | | |
484 | 477 | | |
485 | | - | |
486 | | - | |
487 | 478 | | |
488 | 479 | | |
489 | 480 | | |
| |||
493 | 484 | | |
494 | 485 | | |
495 | 486 | | |
496 | | - | |
| 487 | + | |
497 | 488 | | |
498 | 489 | | |
499 | 490 | | |
| |||
504 | 495 | | |
505 | 496 | | |
506 | 497 | | |
507 | | - | |
| 498 | + | |
508 | 499 | | |
509 | 500 | | |
510 | 501 | | |
| |||
550 | 541 | | |
551 | 542 | | |
552 | 543 | | |
553 | | - | |
| 544 | + | |
554 | 545 | | |
555 | 546 | | |
556 | 547 | | |
| |||
574 | 565 | | |
575 | 566 | | |
576 | 567 | | |
577 | | - | |
| 568 | + | |
578 | 569 | | |
579 | 570 | | |
580 | 571 | | |
| |||
583 | 574 | | |
584 | 575 | | |
585 | 576 | | |
586 | | - | |
587 | | - | |
0 commit comments