|
You are here |
yosefk.com | ||
| | | | |
mathieuduponchelle.github.io
|
|
| | | | | [AI summary] This blog post discusses the implementation of a Python-based GStreamer audio test source element, highlighting its capabilities, properties, and integration with GStreamer's framework. | |
| | | | |
sebastianraschka.com
|
|
| | | | | I'm Sebastian: a machine learning & AI researcher, programmer, and author. As Staff Research Engineer Lightning AI, I focus on the intersection of AI research, software development, and large language models (LLMs). | |
| | | | |
www.da.vidbuchanan.co.uk
|
|
| | | | | [AI summary] The blog post discusses the implementation of Conway's Game of Life using Python with optimized techniques such as SWAR (Shift and Arithmetic Word) and parallel processing. The author leverages Python's native integer operations for SIMD-like acceleration, eliminating the need for explicit SIMD instructions. They also use SDL2 for rendering and achieve high frame rates through parallel execution across multiple processes. The post highlights performance gains, comparing the optimized approach with naive implementations and exploring potential further optimizations using lower-level languages or GPU acceleration. | |
| | | | |
yasoob.me
|
|
| | | Hi people! Recently, I was super confused when I found out that: >>> pow(3,89) runs slower than: >>> 3**89 I tried to think of a suitable answer but couldn't find any. I timed the execution of both of these statements using the timeit module in Python3: $ python3 -m timeit 'pow(3,89)' 500000 loops, best of 5: 688 nsec per loop $ python3 -m timeit '3**89' 500000 loops, best of 5: 519 nsec per loop The difference is not big. | ||