dg44768
Re:Fast Symbolic Computation for Robotics
on Thursday November 16, 2023 @12:15AM (#38285995)
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.
Re:Push ifs up and fors down
on Thursday November 16, 2023 @12:05AM (#38285953)
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) }