Skip to content

Revisiting Genefinder#1

Open
NathanYee wants to merge 5 commits into
releasefrom
master
Open

Revisiting Genefinder#1
NathanYee wants to merge 5 commits into
releasefrom
master

Conversation

@NathanYee
Copy link
Copy Markdown
Owner

Hashtables and list comprehensions. I successfully slowed down the program by two seconds.

Comment thread gene_finder.py
new_string = new_string + get_complement(i)

return new_string
return ''.join(get_complement(n) for n in dna[::-1])
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Effective use of list comprehensions.

@phuston
Copy link
Copy Markdown

phuston commented May 5, 2016

Great work - you're all submitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants