in reply to Example of PDL dataflow to implement 3D space calculations

Thanks for sharing! It's neat to see other ways of approaching this problem.

I'm not entirely sure whether this solves my use cases better or worse than Math::3Space because I haven't gotten around to writing my use cases yet :-) I did a bit of cart-before-the-horse here, mostly prompted by the earlier discussion rather than by having time to write a video game or CAD software.

  • Comment on Re: Example of PDL dataflow to implement 3D space calculations

Replies are listed 'Best First'.
Re^2: Example of PDL dataflow to implement 3D space calculations
by etj (Priest) on Jul 12, 2024 at 18:39 UTC
    In terms of raw performance for small computing tasks, your solution is much better. I believe that for larger computing tasks, which is arguably more realistic for games or CAD, the PDL solution is competitive in both computing performance, and especially ease of programming and maintenance.

    Probably the greatest utility in the above example is just showing how to approach this class of problems with PDL, and doing so prompted me to add a couple of arguably missing features to PDL.