Hacker GitHub

← All repos

00sapo/Python-Complementary-Languages

View on GitHub ↗ ★ 32 Python

Just a small test to see which language is better for extending python when using lists of lists

5 mentions on Hacker News by 4 people: 1 story, 4 comments · first 2021-04-19 · latest 2021-04-19

Mentions per year 5 mentions · busiest year 2021 (5)
20082026
  1. …user. The Github profile is a bunch of Python packages and the Julia code wasn't even optimized ( https://github.com/00sapo/cython_list_test/pull/5 ). If this test says anything, it at least would say that a inexperienced Python user could…
    comment by ChrisRackauckas · 2021-04-19 · in Test for lists in Cython
  2. …it says on their machine it gave a 2x speedup (smaller than my ~7x, but still significant). [0] https://github.com/00sapo/cython_list_test/pull/3
    comment by dr_zoidberg · 2021-04-19 · in Test for lists in Cython
  3. …for actual high-performance Cython (on my 12-core workstation) cuts the runtime by 20x (see #2). https://github.com/00sapo/cython_list_test/pull/2 https://github.com/00sapo/cython_list_test/pull/3
    comment by boothby · 2021-04-19 · in Test for lists in Cython
  4. …you can achieve parallelism with prange(..., nogil=True) and no-copy with cython.view.array. https://github.com/00sapo/cython_list_test/pull/2
    comment by boothby · 2021-04-19 · in Test for lists in Cython