Skip to content

Instantly share code, notes, and snippets.

View Voultapher's full-sized avatar
🦕
Fight perfection

Lukas Bergdoll Voultapher

🦕
Fight perfection
  • MVTec Software GmbH
  • Munich, Germany
  • 16:38 (UTC +02:00)
View GitHub Profile
@Voultapher
Voultapher / cli-tools.txt
Last active August 5, 2021 18:08
cli tools
No particular order:
rg | ripgrep
fd
tokei
dua | dua-cli
tldr | tealdeer
tig
hexyl
exa
Linux 5.3.13-arch1-1
Benchmark code https://github.com/Voultapher/hashmap-compare 197ef4d9b2b27741a67eb96ff1828e7a83529594
clang version 9.0.0
Run on (4 X 3000 MHz CPU s)
CPU Caches:
L1 Data 32K (x2)
L1 Instruction 32K (x2)
@Voultapher
Voultapher / gen-nested-loops.hpp
Created June 26, 2020 10:04
C++ generate nested loops based on runtime loop bounds and static known loop depth.
// https://godbolt.org/z/-Zq5A9
#include <array>
#include <tuple>
#include <utility>
namespace detail {
class LoopFunc {
public:
LoopFunc(std::ptrdiff_t loop_max) : _loop_max{loop_max} {}
@Voultapher
Voultapher / sort-safety-addendum-c_std_sys.md
Created October 5, 2023 17:17
Sort safety addendum c_std_sys

image