@Benchmark
public Object CellAddress1_parse() throws IllegalStateException {
return new Object[]{
new CellAddress("A1"),
new CellAddress("XY1321"),
new CellAddress("$XY1321"),
new CellAddress("XFD1048576")
};
}
@Benchmark
public Object CellAddress1_format() throws IllegalStateException {
return new Object[]{
new CellAddress(0, 0).toString(),
new CellAddress(100, 100).toString(),
new CellAddress(21333, 3213).toString(),
};
}
Memory usage test time went down from 1:38 to 1:24.
Microbenchmark results:
Also adds support for A$1 format (absolute row).