Descriptiononly call scalar finite when necessary
Mike points that the the ulps compares
rank high in path ops profiles. The
check for finite scalars is rarely
required.
Call it less by:
- specializing _pin version of compares
- checking for 0 divides up front
- handling failing cases before comparing
- casting float to double before adding
R=reed@google.com
Committed: https://skia.googlesource.com/skia/+/b669300a9753893ef900207c38aeff2d467764e5
Patch Set 1 #
Total comments: 2
Messages
Total messages: 10 (4 generated)
|