This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcc regex is terrible. | |
msvc regex is just a joke. | |
using code from https://github.com/mariomka/regex-benchmark?tab=readme-ov-file#optimized | |
default: using msvc default <regex> file. | |
pmr: copy regex header, change all vector into std::pmr::vector | |
pmr+my allocator: based on pmr,create my own allocator, and set it with std::pmr::set_default_resource | |
debug: debug version but with _ITERATOR_DEBUG_LEVEL=0 | |
numbers A - B: A is the time of the function, in ms. B is the count of matches. B means right, A means performance. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Linux kernel kallsyms unpacker | |
# Version 0.2 | |
# Copyright (c) 2010-2013 Igor Skochinsky | |
# | |
# This software is provided 'as-is', without any express or implied | |
# warranty. In no event will the authors be held liable for any damages | |
# arising from the use of this software. | |
# | |
# Permission is granted to anyone to use this software for any purpose, | |
# including commercial applications, and to alter it and redistribute it |