aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/nixexpr.hh
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2021-07-30 20:08:54 +0200
committerAndreas Rammhold <andreas@rammhold.de>2021-07-30 21:07:32 +0200
commitb9c9c2576658706939d20b1861309fefa7f20889 (patch)
tree607a499cf6bc1c1f78f5e964afce8d15cfbd3a33 /src/libexpr/nixexpr.hh
parent2b67cb7b8c8ac7953f7e341d760bdb3c021fe765 (diff)
libutil: initialize the base64 decode array only once
Previously, despite having a boolean that tracked initialization, the decode characters have been "calculated" every single time a base64 string was being decoded. With this change we only initialize the decode array once in a thread-safe manner.
Diffstat (limited to 'src/libexpr/nixexpr.hh')
0 files changed, 0 insertions, 0 deletions