Opened 6 years ago
Closed 5 years ago
#12909 closed Patches (fixed)
Unnecessary performance issue for base64 encoding and decoding
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | To Be Determined | Component: | serialization |
Version: | Boost 1.63.0 | Severity: | Optimization |
Keywords: | Performance Base64 | Cc: |
Description
The base64 encoding and decoding of base64_from_binary and binary_from_base64 contains an unnecessary performance issue. The tables used in the implementation are declared locally in each routine, but they are not declared static. At least with GCC 4.9, even at optimization lievel -O2 this incurs a major performance decrease, which can be avoided by making these tables static.
Attachments (1)
Change History (3)
by , 6 years ago
Attachment: | base64.diff added |
---|
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fix patch