JavaScript Programming Tutorial 57 - Memoization and Algorithm Optimization

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

Hey man, just here to say that you are really changing my life. The way you teach is magical for me! Thank you for sharing your knowledge. Really hoping to see more content on and Node. Planning to watch all your content this month ❤

LuisFelipe-tdqk
Автор

Thanks for the video! I’m glad to see this being done. I have had to do a similar technique on the TI-83 calculator because of a awfully slow z80 and slow real time compiler made for slow programs.
I have seen examples of games using Sin/Cosine lookup tables to reduce calling that every single frame.
I like how this function can calculate and look up.

joshparsons
Автор

I'm lost with the return total and return pow.calculated[stringVersion] . May I know how they affect the code?

TIA

rickyseblos
Автор

"if you wanna calculate the factorial of some number like 500 this can take a lot of time"
Me was currently calculating the factorial of in java while watching this []:

evangelosrigas