Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
Fastest way to pass geometry to C Extension
-
Hi all,
Which method would be faster, to iterate over all vertices/normals/uvs and pass them to C extension via extension function or access Ruby data pointer from C extension itself? What is the fastest way of passing geometry data to C extension?
Thanks
-
This sound like a bleeding edge optimization - where you need to profile to get your answer.
In general, try to create as few Ruby objects as possible. Reuse data. Make use of bulk functions if possible.
Advertisement