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

refactor string/replaceAccents() #14

Closed
millermedeiros opened this issue Nov 23, 2011 · 1 comment
Closed

refactor string/replaceAccents() #14

millermedeiros opened this issue Nov 23, 2011 · 1 comment

Comments

@millermedeiros
Copy link
Owner

right now I have a huge chain of .replace calls, it would "compress better" (smaller file size) if replacements was done in a loop and we used a lookup table (maybe just an array with all the replacements)..

@millermedeiros
Copy link
Owner Author

ignore for now.. not that many items, leave batchReplace for HTML entities (that it will make sense to not chain the replacements since it should work both ways..

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