Better HN
topnewbestaskshowjobs
Log inSign up

dg44768

5 karma · joined Nov 16, 2023 (3y ago) · 2 submissions

Submissions

comment 3y ago · link · parent

SymForce is a symbolic computation and code generation library that combines the development speed and flexibility of symbolic mathematics in Python with the performance of autogenerated, highly optimized code in C++ or any target runtime language.

comment 3y ago · link · parent

Thanks for the article. Maybe I’m confused, but why in the section near the end about how the two recommendations go together, why is the code this:

if condition { for walrus in walruses { walrus.frobnicate() } } else { for walrus in walruses { walrus.transmogrify() } } and not this?

if condition { frobnicate_batch(walruses) } else { transmogrify_batch(walruses) }