• Sylvain Henry's avatar
    Refactor LitString · 7c665f9c
    Sylvain Henry authored
    Refactor LitString so that the string length is computed at most once
    and then stored.
    Also remove strlen and memcmp wrappers (it seems like they were a
    workaround for a very old GCC when using -fvia-C).
    Bumps haddock submodule.
    Reviewers: bgamari, dfeuer, nickkuk
    Reviewed By: bgamari, nickkuk
    Subscribers: nickkuk, dfeuer, thomie, carter
    Differential Revision: https://phabricator.haskell.org/D4630
FastString.hs 20.5 KB