Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

This patch speeds up startup and adds the --unique-map option #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 8, 2016

  1. This patch speeds up startup and adds the --unique-map option

    Barnyard2 takes a long time to start due to poorly optimized list code.  For every SID added to the list, the
    entire list is iterated to get to the tail of the list.  Adding and maintaining a tail pointer prevents this,
    since we can just add entries directly at the end.
    
    The --unique-map option is also added, this prevents each SID from the files being checked against what's in
    memory.  Most tools generate unique files, making this check unnecessary and wasteful.
    notnyt committed Feb 8, 2016
    Configuration menu
    Copy the full SHA
    4f78c86 View commit details
    Browse the repository at this point in the history