2 ms·
This is a fair argument to make, but to my knowledge, this is not currently true of the Java API. It probably would make sense for some future version of the J
by jaawn 11y ago
This is a fair argument to make, but to my knowledge, this is not currently true of the Java API. It probably would make sense for some future version of the Java API to include O notation as part of the contract, at least for certain elements such as String. Since the performance expectations of Java have increased dramatically, it really would be beneficial to maintain stable-or-better performance (edit: for all use cases) across versions.