|
You are here |
divisbyzero.com | ||
| | | | |
www.code-spot.co.za
|
|
| | | | | I am playing around with generating textures and decided to post some preliminary results. The algorithm used to create these images is simple to implement, but slow. Here is how it works: 1. Gener... | |
| | | | |
nelari.us
|
|
| | | | | Dithering is a fascinating and seemingly counter-intuitive technique, the effects of which are easily demonstrated using images. This post develops a simple way to dither images using just a few lines of Rust code. | |
| | | | |
qsantos.fr
|
|
| | | | | ||
| | | | |
bayesianneuron.com
|
|
| | | [AI summary] The user has shared a detailed exploration of optimizing the 0/1 Knapsack problem using dynamic programming with Python and NumPy. They discuss various optimization techniques, including reducing memory usage with a 2-row approach, vectorization using NumPy's `np.where` for faster computation, and the performance improvements achieved. The final implementation shows significant speedups, especially for large-scale problems, and the user highlights the importance of vectorization and efficient memory management in computational tasks. | ||