determinize: various micro optimizations

* spot/twaalgos/determinize.cc: Implement various micro
optimizations.  Use robin-hood hashing in a few places.
* spot/priv/robin_hood.hh: New file.
* spot/priv/Makefile.am: Add it.
* tests/sanity/80columns.test, tests/sanity/includes.test,
tests/sanity/style.test: Adjust to skip robin_hood.hh.
This commit is contained in:
Alexandre Duret-Lutz 2019-10-15 13:37:36 +02:00
parent 98dc1a5629
commit f0b52ce218
6 changed files with 2168 additions and 76 deletions

View file

@ -1,7 +1,7 @@
#! /bin/sh
# -*- coding: utf-8 -*-
# Copyright (C) 2008, 2011, 2012, 2016, 2018 Laboratoire de Recherche et
# Développement de l'Epita (LRDE).
# Copyright (C) 2008, 2011-2012, 2016, 2018-2019 Laboratoire de
# Recherche et Développement de l'Epita (LRDE).
# Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6
# (LIP6), département Systèmes Répartis Coopératifs (SRC), Université
# Pierre et Marie Curie.
@ -39,6 +39,9 @@ for file in `find "$INCDIR" \( -name "${1-*}.hh" \
elif grep -q 'made by GNU Bison' "$INCDIR/$file"; then
# Those are not public headers, so we do not care
continue
elif grep -q '/robin-hood-hashing' "$INCDIR/$file"; then
# Those are not public headers, so we do not care
continue
else
echo "FAIL: $file (missing #pragma once)"
echo " $file (missing #pragma once)" >> failures.inc