1

I want to iterate the items of a paginatedList in a fast way but, when I apply a method to the paginatedList, then it takes too much time to execute the program.

Example

'''

plist = user.get_starred()

for starred in plist.__iter__():
   print(starred)

'''

When i use a method like "iter" or others methods for paginatedLists (https://github.com/PyGithub/PyGithub/blob/001970d4a828017f704f6744a5775b4207a6523c/github/PaginatedList.py#L123), the programme becomes very inefficient.

torek
  • 448,244
  • 59
  • 642
  • 775
Iron_Ale
  • 11
  • 2
  • the question is not clear. what are you trying to achieve ? – D.L Mar 17 '22 at 15:39
  • Finally, my solution was to use Request library instead of PyGitHub, is more efficient for extraction information from GitHub's API. – Iron_Ale Jul 22 '22 at 11:52

0 Answers0