surely other things are more costly than writing \u{1F4AF}
maybe there is a faster way, but it's probably better to find it if
this comes up in profiling.
commit7ac1c104226c7d01b1372cf6d79cfcb939162487
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateThu 27 Jun 2019, 19:41 (7 years ago)
parent54add81
compiler/src/Elm/String.hs−1
@@ -108,7 +108,6 @@ writeChunks mba offset chunks =
108108 writeChunks mba newOffset chunks
109109
110110
111−-- TODO see if it is faster to writeWord32 a block of hex-as-ascii
112111writeCode :: MBA RealWorld -> Int -> Int -> ST RealWorld ()
113112writeCode mba offset code =
114113 do writeWord8 mba offset 0x5C {- \ -}