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

Strings in the kernel module #31

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 1 comment
Open

Strings in the kernel module #31

GoogleCodeExporter opened this issue Mar 17, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

The one thing we *know* must be inefficient in the kernel module is the 
way it handles strings.

1. str[n]cmp is going to compare more than is needed, if we just want to 
know if two strings are equal or not
2. There are bound to be places where a simple hash of the string would be 
better (see (1))
3. And I really need to stop copying strings...

Original issue reported on code.google.com by [email protected] on 11 Mar 2010 at 9:47

@GoogleCodeExporter
Copy link
Author

Extract that last item (not copying strings) as a separate issue, issue 34

Original comment by [email protected] on 7 May 2010 at 9:02

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

No branches or pull requests

1 participant