Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing Generic for Node class? #7

Open
Glidias opened this issue Apr 11, 2013 · 1 comment
Open

Implementing Generic for Node class? #7

Glidias opened this issue Apr 11, 2013 · 1 comment

Comments

@Glidias
Copy link

Glidias commented Apr 11, 2013

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
Copy link
Owner

nadako commented Apr 12, 2013

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants