This is probably a question about "C" not "Cython" but I am trying to understand how classes work in cython.
When I write a class in Cython:
cdef class Myclass:
def __init__(self, a1, ...):
self.attribute1 = a1
def __cinit__(self, char *ca1,...):
self.c_attribute1 = Ca1
...
I understand that it's basically a struct
in c.
But then:
cdef muFunction(self):
do and return something
How are the methods private/local to the object? Can then run at C compiled speed?
Thank you and feel free to point and teach me all terms that I might be using wrongly.