Python Forum
Code taking too much time to process
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code taking too much time to process
#4
I don't really know what you mean by that, but those comparisons all look to be trivial, so again, they likely aren't going to account for the slowness. You should run a profiler (e.g. cProfile, for which the docs are here) on the code to see where the most time is being spent. That will help people figure out what optimisations can be made.
jefsummers likes this post
Reply


Messages In This Thread
Code taking too much time to process - by ErPipex - Nov-05-2020, 06:23 PM
RE: Code taking too much time to process - by ndc85430 - Nov-07-2020, 06:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I make this code more efficient and process faster? steven_ximen 0 464 Dec-17-2024, 04:27 PM
Last Post: steven_ximen
  Process finished with exit code 137 (interrupted by signal 9: SIGKILL) erdemath 2 12,625 Apr-18-2022, 08:40 PM
Last Post: erdemath
  Speed up code with second process help samuelbachorik 0 1,952 Sep-04-2021, 09:31 AM
Last Post: samuelbachorik
  Assistance with running a few lines of code at an EXACT time nethatar 5 4,991 Feb-24-2021, 10:43 PM
Last Post: nilamo
  Stumped by my own code (ratio & epoch-time calculation). MvGulik 2 3,097 Dec-30-2020, 12:04 AM
Last Post: MvGulik
  What is the run time complexity of this code and please explain? samlee916 2 3,070 Nov-06-2020, 02:37 PM
Last Post: deanhystad
  process finished with exit code -1073741819 (0xC0000005) GMCobraz 8 8,025 Sep-01-2020, 08:19 AM
Last Post: GMCobraz
  The count variable is giving me a hard time in this code D4isyy 2 2,824 Aug-09-2020, 10:32 PM
Last Post: bowlofred
  Having a hard time combining two parts of code. Coozeki 6 4,610 May-10-2020, 06:50 AM
Last Post: Coozeki
  kill thread or process asap, even during time.sleep nanok66 4 4,514 Apr-29-2020, 10:13 AM
Last Post: nanok66

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020