Python Forum
How can I make a faster search algorithm
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I make a faster search algorithm
#6
I'll take a look at speeding this up.
First I need some info:
  • You have a huge bottleneck at the beginning (lines 13 through 19)
    Curious, why change from DNA to 0 & 1? are you trying to count base 'G'?
  • Could you please explain what the goal is here, I'm having difficulty understanding.
  • Do you know the ftp site for downloading fasta file (CM000665.fasta)? something like ftp://ftp.ncbi.nih.gov/snp/organisms/hum.../rs_fasta/
Reply


Messages In This Thread
RE: How can I make a faster search algorithm - by Larz60+ - Apr-15-2019, 08:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Make code run faster: point within polygon lookups Bennygib 2 513 Apr-19-2025, 09:33 AM
Last Post: Larz60+
  How can I make this code more efficient and process faster? steven_ximen 0 446 Dec-17-2024, 04:27 PM
Last Post: steven_ximen
  Basic binary search algorithm - using a while loop Drone4four 1 2,942 Jan-22-2024, 06:34 PM
Last Post: deanhystad
  Writing a Linear Search algorithm - malformed string representation Drone4four 10 4,522 Jan-10-2024, 08:39 AM
Last Post: gulshan212
  go over and search in numpy array faster caro 7 3,419 Jun-20-2022, 04:54 PM
Last Post: deanhystad
  Trying to search and make new column from the keyword. dgarg 1 2,131 Dec-20-2021, 08:41 PM
Last Post: deanhystad
  Search faster? Pedroski55 1 2,679 Dec-06-2020, 10:03 PM
Last Post: Larz60+
  how to make iterative search more efficient renergy 2 3,014 Jan-03-2020, 03:43 PM
Last Post: stullis
  To make an algorithm work faster pianistseb 3 3,728 Apr-01-2019, 08:42 AM
Last Post: Gribouillis
  How can I make this function faster? Brennan 10 8,330 Jun-29-2018, 08:33 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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