How could i make a faster implementation of Vector3Curve

Right now i need to implement a 3D curve that can use left and right tangents to offset the curve (like float curve and vector3curve)

I tried making a wrapper on vector3curve but it was way too slow for my use (it’s gonna run every frame, frequency depends on user but the enabler will be frequently placed depending on level design) and i thought about implementing it myself.

But, i am a bit stuck on how i would go about doing this i tried beizer curves first but it didn’t seem like i could get them to work with left/right tangents (if they do let me know) then i thought of doing cubic polynomials but i have 0 ideas on how to implement that and i don’t even know if it will work.

Any help is appreciated.

For now i’ll be using the instance since i am super dumb and still can’t figure this out.
If you want to help don’t refrain from replying even if you find this post dead.
(i won’t mark this as a solution since it clearly isn’t one)