Ash-Haxe icon indicating copy to clipboard operation
Ash-Haxe copied to clipboard

Implementing Generic for Node class?

Open Glidias opened this issue 11 years ago • 1 comments

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.

Glidias avatar Apr 11 '13 06:04 Glidias

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!

nadako avatar Apr 12 '13 21:04 nadako