Commit Graph

2 Commits

Author SHA1 Message Date
dependabot-preview[bot]
869d889567
Bump maven-deploy-plugin from 2.8.1 to 2.8.2
Bumps maven-deploy-plugin from 2.8.1 to 2.8.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 08:34:45 +00:00
Tom Morris
df8d092132
Micro benchmark harness & ToNumber optimizations (#2859)
* Performance optimized version of ToNumber

Approximately 5x faster for floats (data dependent)
and about the same speed for integers.

- Instead of blindly trying to parse as Long, do a quick check
  for obvious problems (e.g. decimal point).
- Don't trim. It's already done by called methods.
- Use valueOf() instead of parse() to avoid object creation

* Add Java Microbenchmark Harness

The shaded JAR is missing the OpenRefine classes, for a reason
that I haven't figured out, so requires openrefine-main.jar at runtime.

* Remove old implementations of ToNumber

* Remove unneeded dependencies from main project

* Clean up and reformat
2020-07-03 21:42:44 +02:00