Skip to content

Commit be5adfd

Browse files
authored
Use references in formatter (#69)
Use references to avoid unnecessary allocation and copying in the code formatter. That also allows a nifty optimization to have a lookup table of multiples of 4 space indents, meaning no allocation is needed for that very common case either.
2 parents 4a1260f + f3e30e5 commit be5adfd

File tree

3 files changed

+294
-283
lines changed

3 files changed

+294
-283
lines changed

0 commit comments

Comments
 (0)