I noticed two small possibilities for improvement in DataDictionaryImpl.getRoutineList() when I worked on
- The method always returns a list of one or zero items. Instead of creating an ArrayList, it should use Collections.singletonList() and Collections.EMPTY_LIST, which are more memory-efficient.
- It loops through the entire SYSFUN_FUNCTIONS array, even if the matching function is found in the first cell of the array. It should break out of the loop once a match is found.
Gavin made changes -
|Workflow||jira [ 12666762 ]||Default workflow, editable Closed status [ 12797038 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||In Progress [ 3 ]||Resolved [ 5 ]|
|Issue & fix info||Patch Available [ 10102 ]|
|Fix Version/s||10.9.0.0 [ 12316344 ]|
|Resolution||Fixed [ 1 ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|