Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented memoize in python. #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AnnaYasenova
Copy link

  • example without memoize
  • simple memoization in different ways: with function, class, decorator
  • example with file as a cache
  • using lru_cashe

Copy link
Member

@tshemsedinov tshemsedinov left a comment

Choose a reason for hiding this comment

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

Нужно бы сделать rebase с мастером

print('fib(7): ', fib(7))
print('fib(10): ', fib(10))

print('fib(40): ', fib(40)) # here is a problem
Copy link
Member

Choose a reason for hiding this comment

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

В конце каждого файла добавь пустую строку

@AnnaYasenova AnnaYasenova reopened this Jan 11, 2018
@tshemsedinov tshemsedinov assigned aqrln and unassigned aqrln Jan 11, 2018
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.

3 participants