Hello. @ambi and @varkenvarken Bumping this seemed needed as things have probably evolved but this is the most recent relevant search result for such purely python based solutions. I am trying to accelerate some complete mesh export to strings routine, which up to now was just using bpy.mesh considering how Numpy could help, I found another topic using functions such as :
get_v_index = np.vectorize(lambda l: l.vert.index, otypes=['i4'], cache = True)
faces_verts = get_v_index(looptris)
But here no one ever mention Numpy Vectorizeā¦ Is it because itās a) less practical for some cases, b) less readable for no gain, c) simply not faster , d) you havenāt tried it in your optimization trials ?