mirror of
https://github.com/AdaCore/xmlada.git
synced 2026-02-12 12:30:28 -08:00
memory usage of the parser but also to speed up its initialization due to cache issues. During Sax parser initialization, the 2Mb hash table is cleared which fills up the cache for nothing. By reducing the hash table to 1024, the hash table is reduced to 32kb hence leaving less pressure on the cache. See https://blog.vacs.fr/vacs/blogs/post.html?post=2013/03/02/Optimization-with-Valgrind-Massif-and-Cachegrind