We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
通过定义接口, 来兼容其他类Point类型. 参考:
The text was updated successfully, but these errors were encountered:
https://github.com/wsw0108/benchmarks/blob/master/src/main/java/org/maptalks/benchmark/proj4/Proj4mBenchmark.java 未见(明显)性能提升
Sorry, something went wrong.
性能虽然没提升,但避免了不少double[]的创建,应能改善GC,感觉值得修改
@fuzhenn 虽然避免了double[]的创建, 但交换条件是forward/inverse只能修改传入的Point类对象. 在泛型里, 根据Java规范, 是没法如下的:
public class Klass<T> { public T newInstance() { return new T; // error } }
wsw0108
No branches or pull requests
通过定义接口, 来兼容其他类Point类型.
参考:
The text was updated successfully, but these errors were encountered: