nadako / Ash-Haxe

Port of Ash entity framework to Haxe
Other
131 stars 37 forks source link

Implementing Generic for Node class? #7

Open Glidias opened 11 years ago

Glidias commented 11 years ago

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.

nadako commented 11 years ago

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!