Implementing Generic for Node class?
Glidias opened this issue · comments
Glenn Ko commented
Ever tried this? If you do this, the next/prev pointer would be strictly typed, this could result in better performance, even though code might bloat due to Generic duplication.
Inlining ListIteratingSystem would be good as well, though I'm not sure if it's possible.
Dan Korostelev commented
Hi! To be honest I didn't use Haxe generics at all. Are they the same as C++ templates? I'll look into it, thanks for advice!