JavaLOB icon indicating copy to clipboard operation
JavaLOB copied to clipboard

Is cancel O(1) correct?

Open mjuchli opened this issue 5 years ago • 0 comments

I'm wondering if the time complexity for cancel is indeed O(1), as stated in the wiki? Since remove is called on a TreeMap: https://github.com/DrAshBooth/JavaLOB/blob/master/src/lob/OrderTree.java#L55, this would imply time complexity O(logN).

mjuchli avatar Apr 11 '19 21:04 mjuchli