-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shorten the nested array decoder code
The current nested loop code, while correct and fast, is arguably ugly and brittle (should ARRAY_MAXDIM ever change or become server version specific). Replace this with the implementation using a stack of sublists, like textarray_decode already does. There is no measurable impact on performance.
- Loading branch information
Showing
2 changed files
with
71 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters