HomePhabricator

[IMPR] remove sorting from page_gen generator

Tags
None
Referenced Files
None
Subscribers
None

Description

[IMPR] remove sorting from page_gen generator

The page_gen method retrieves pages by the get_page() index which
lies within start and end parameters. The sorting key is found by
get_number() function which gives the same value which is previously
given by the index of get_page. Therefore the sorting is needless but
the sorting build-in function is greedy and retrieves all pages which
is not in the sense of the generator.

Change-Id: Ibbcf55f02500fd1c0bd4e95bcac267aded4fc777

Details

Provenance
XqtAuthored on Feb 28 2024, 2:45 PM
Parents
R3347:39f40cb67a27: [doc] update ROADMAP.rst and CHANGELOG.rst
Branches
Unknown
Tags
Unknown
ChangeId
Ibbcf55f02500fd1c0bd4e95bcac267aded4fc777

Event Timeline