https://github.com/jdegand/memoized
Angular Challenges #35 Memoization - Alternative Solution
https://github.com/jdegand/memoized
angular angular-challenges
Last synced: 11 months ago
JSON representation
Angular Challenges #35 Memoization - Alternative Solution
- Host: GitHub
- URL: https://github.com/jdegand/memoized
- Owner: jdegand
- Created: 2023-09-18T23:41:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T01:18:28.000Z (over 2 years ago)
- Last Synced: 2025-01-22T09:13:18.749Z (about 1 year ago)
- Topics: angular, angular-challenges
- Language: TypeScript
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Memoized
[Angular Challenges](https://github.com/tomalaforge/angular-challenges/commit/ea7eee2d4a2608e89529141403a0fce070f97b5c) #35 Memoization
## Thoughts
- I saw this added and starting working on before directions were included.
- Type one letter and there will be a few second re-run of the whole list.
- I improved performance by using a memoized fibonacci function.
- The directions want challengers to use a pipe and not touch the fibonacci function.
- You could probably use a separate memo function but pipes are better and more flexible than memo functions.
## Useful Resources
- [Medium](https://medium.com/angular-in-depth/how-to-improve-angular-performance-by-just-adding-just-8-characters-877bde708ddd) - how to improve angular performance by just adding 8 characters
- [Dev.to](https://dev.to/bitovi/5-tips-to-improve-angular-performance-360h) - 5 tips to improve angular performance
- [Medium](https://medium.com/codex/fibonacci-sequence-javascript-recursion-memoization-74d997900ff8) - memoized fib function