https://bz.apache.org/bugzilla/show_bug.cgi?id=61862
Javen O'Neal <one...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|NEW |NEEDINFO --- Comment #1 from Javen O'Neal <one...@apache.org> --- I have not tested this new caching TreeMap to see if it's faster or slower than a regular TreeMap. TreeMap's O(log(N)) performance is probably pretty good. The first or last key of a TreeMap containing 1,000,000 rows would traverse through ~20 nodes (2^20=1,000,000). The constant overhead of keeping the cache up to date for every modification just to make firstKey/lastKey faster for getFirstRowNum() and getLastRowNum() faster, which are probably called no more than once per sheet anyways... This might not actually be an improvement for XSSFSheet. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org