Skip to content

SVCD::ndispatch [NOT READY] #40

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jenniferdai
Copy link

No description provided.

@immesys immesys mentioned this pull request Mar 2, 2015
@immesys immesys changed the title ndispatch SVCD::ndispatch Mar 2, 2015
char ivkidstr[16];
sprintf(ivkidstr, "%d", ivkid);
lua_pushstring(L, ivkidstr);
lua_gettable(L, 5);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you using the string version of the ivkid? I have to check what the other groups are doing when using the ivkid as a key, but the Lua version just straight up used the number, not the string. String conversion is slow and unnecessary.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, thanks! We fixed it.

@immesys immesys changed the title SVCD::ndispatch SVCD::ndispatch [NOT READY] Mar 2, 2015
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

Successfully merging this pull request may close these issues.

2 participants