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

Move coefficient to front if possible. #247

Merged
merged 1 commit into from Oct 28, 2016
Merged

Conversation

johnmay
Copy link
Member

@johnmay johnmay commented Oct 19, 2016

image

@@ -487,6 +487,19 @@ private IRenderingElement generateMixtureSgroup(Sgroup sgroup) {
}
}

private static boolean isDigit(char c) {
return c >= '0' && c <= '9';
}
Copy link
Member

Choose a reason for hiding this comment

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

Is this faster than Character.isDigit() ?

(aka it seems there are several classes now with a method like this... what is the reason?)

@egonw egonw merged commit 7897397 into master Oct 28, 2016
@johnmay johnmay deleted the patch/render/prefixcoef branch February 12, 2017 21:57
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.

None yet

2 participants