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

improve performance of memory allocator using builtin GCC functions #3

Closed
renecannao opened this issue Dec 1, 2014 · 1 comment
Closed
Assignees
Milestone

Comments

@renecannao
Copy link
Contributor

Use FFS (http://en.wikipedia.org/wiki/Find_first_set) to improve performance on memory allocator, using GCC builtin functions __builtin_ffs and __builtin_clz . See https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html#Other-Builtins

@renecannao renecannao self-assigned this Dec 1, 2014
@renecannao renecannao added this to the Hebe milestone Dec 1, 2014
renecannao added a commit that referenced this issue Dec 1, 2014
Use of __builtin_ffs and __builtin_clz for __l_alloc and __l_free when __GNUC__ is defined
Increased L_SFC_MAX_ELEM_SIZE from 512 to 2048
@renecannao
Copy link
Contributor Author

Increased L_SFC_MAX_ELEM_SIZE from 512 to 2048 .

@renecannao renecannao reopened this Dec 2, 2014
renecannao added a commit that referenced this issue Dec 2, 2014
For issue #3:
- fixed serious bug

For issue #7:
- most of the functions in MySQL_Authentication rewritten to accept an extra argument of type enum cred_username_type
- Standard_MySQL_Authentication stores username/password in 2 structures (creds_group_t) for backend and frontend
aismail pushed a commit that referenced this issue Jun 25, 2015
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