Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizes NN model serialization #298

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

Commits on Jun 27, 2016

  1. Optimizes NN model serialization

    * Reserves a vector/unordered_map's memory to avoid resize/rehash
    * abstract_columns<bit_vector> serializes to a raw type instead of an array
    
    Performance (lsh, 2048bit, 10000000 records)
      size: 3020.78 => 2715.60 [MiB] (10% smaller)
      load: 14969.7 =>  6967.9 [ms]  (x2.15 faster)
      save: 4686.22 =>  2341.5 [ms]  (x2.00 faster)
    Kazuki OIKAWA committed Jun 27, 2016
    Configuration menu
    Copy the full SHA
    dea78eb View commit details
    Browse the repository at this point in the history