These are chat archives for boostorg/hana

24th
Jan 2016
Jason Rice
@ricejasonf
Jan 24 2016 00:09
Sooo.. I got test.map.at_key passing and tried the benchmark...
      "name": "hana::map",
      "data": [[1, 1.622708783019334], [6, 1.698097876040265], [11, 1.7645289140054956], [16, 1.8356641859863885], [21, 1.9189587460132316], [26, 1.9401077149668708], [31, 2.0380619899951853], [36, 2.0923994899494573], [41, 2.2050977970357053], [46, 2.224675818986725], [50, 2.319685415015556], [75, 2.6637842769850977], [100, 2.9832630309974775], [125, 3.3718112600035965], [150, 3.7423034759704024], [175, 4.1199305430054665], [200, 4.508533293032087]]
    }
...and I can still write function overloads to handle buckets with one or no elements :D
It appears to be slower up front, but it scales much better.
Jason Rice
@ricejasonf
Jan 24 2016 04:52
jason@jason-nuc:~/temp/experiments$ clang++ -std=c++14 -I/usr/local/src/hana/include map_find.cpp 
jason@jason-nuc:~/temp/experiments$ ./a.out 
just(just((1, -1)))
came in handy :grin:
just might be a problem there :laughing: