Edit

kc3-lang/libxkbcommon/bench

Branch :

  • Show log

    Commit

  • Author : Pierre Le Marre
    Date : 2025-04-04 16:38:16
    Hash : d5a91fa9
    Message : xkbcomp: Use custom parsers instead of strtol* The use of `strtol*` functions was already restricted due to its slowness and its capacity to parse other stuff than digits (e.g. signs and spaces). There is also another *big* limitation: it requires a NULL-terminated string. This is incompatible with our functions that work on buffers, because we cannot guarantee this. This may lead to a memory violation if the last token is a number. We now roll out our own parsers, which are more efficients and compatible with buffers.