The 0-10 Session object creates a 64Kb command buffer by default... in the context of a broker which may have thousands of concurrently open sessions this is too large a burden.
Observation has shown that most common use cases have relatively low utilization of this buffer, and that the therefore we can replace the use of a fixed size array with an Integer keyed Map.
If performance / autoboxing overhead is observed to be an issue, we could later update to use a primitive int base Map-like implementation such as that available here: http://acs.lbl.gov/software/colt/
|Field||Original Value||New Value|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Status||In Progress [ 3 ]||Ready To Review [ 10006 ]|
|Status||Ready To Review [ 10006 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|