Hacker News new | ask | show | jobs
by lwswl 1437 days ago
multiple function pointers in a struct is inefficient memory-wise, I think you'd be much better off with a single pointer to a lookup table that can be shared by all instances.

Its even more cumbersome, but its what you pay if you want efficiency in c.