{ "cells": [ { "cell_type": "code", "execution_count": 29, "metadata": {}, "outputs": [], "source": [ "data = read.csv(\"new_repr_no_outlier.csv\")\n", "data[\"SQRTIME\"] <- apply(data[\"TIME\"],2, sqrt)\n", "data[\"LNTIME\"] <-apply(data[\"TIME\"],2, log)\n", "data[\"LOG2TIME\"] <-apply(data[\"TIME\"],2, log2)\n", "tests = list(\n", "\"int_delete\",\n", "\"int_insert\",\n", "\"int_nosucc_lookup\",\n", "\"int_succ_lookup\",\n", "\"string_delete\",\n", "\"string_insert\",\n", "\"string_nosucc_lookup\",\n", "\"string_succ_lookup\"\n", ")\n", "\n", "maps = list(\n", "\"absl::flat_hash_map\",\n", "\"absl::node_hash_map\",\n", "\"boost::unordered::unordered_map\",\n", "\"emilib::HashMap\",\n", "\"google::dense_hash_map\",\n", "\"google::sparse_hash_map\",\n", "\"phmap::parallel_flat_hash_map\",\n", "\"phmap::parallel_node_hash_map\",\n", "\"robin_hood::unordered_flat_map\",\n", "\"robin_hood::unordered_node_map\",\n", "\"ska::bytell_hash_map\",\n", "\"ska::flat_hash_map\",\n", "\"ska::unordered_map\",\n", "\"std::unordered_map\",\n", "\"tsl::hopscotch_map\",\n", "\"tsl::robin_map\",\n", "\"tsl::sparse_map\" )\n" ] }, { "cell_type": "code", "execution_count": 34, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[1] \"int_delete\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8983268\n", "\n", "[1] \"int_insert\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.846827\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.7925503\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.793804\n", "\n", "[1] \"string_delete\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9636119\n", "\n", "[1] \"string_insert\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8815644\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8264142\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"absl::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.892875\n", "\n", "[1] \"int_delete\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9196117\n", "\n", "[1] \"int_insert\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9096905\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8576768\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9453438\n", "\n", "[1] \"string_delete\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9689642\n", "\n", "[1] \"string_insert\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9586425\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9476649\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"absl::node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9127461\n", "\n", "[1] \"int_delete\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.8901596\n", "\n", "[1] \"int_insert\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.7076987\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.6987886\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.7345624\n", "\n", "[1] \"string_delete\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.8377184\n", "\n", "[1] \"string_insert\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.6648682\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.7049881\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"boost::unordered::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.9069237\n", "\n", "[1] \"int_delete\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.7572595\n", "\n", "[1] \"int_insert\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.4199685\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.4177698\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.5875779\n", "\n", "[1] \"string_delete\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.4212078\n", "\n", "[1] \"string_insert\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.848186\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.9147244\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"emilib::HashMap\"\n", "$adj.r.squared\n", "[1] 0.892306\n", "\n", "[1] \"int_delete\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4079782\n", "\n", "[1] \"int_insert\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4186519\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.405795\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4339703\n", "\n", "[1] \"string_delete\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.3810376\n", "\n", "[1] \"string_insert\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.7263214\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9300976\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"google::dense_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9009406\n", "\n", "[1] \"int_delete\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.6561293\n", "\n", "[1] \"int_insert\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.545677\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.3704349\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8042662\n", "\n", "[1] \"string_delete\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9370902\n", "\n", "[1] \"string_insert\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4562894\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.2135441\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"google::sparse_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9421012\n", "\n", "[1] \"int_delete\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8693853\n", "\n", "[1] \"int_insert\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8007863\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.706862\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9286919\n", "\n", "[1] \"string_delete\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8710601\n", "\n", "[1] \"string_insert\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8240802\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9574773\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"phmap::parallel_flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8783351\n", "\n", "[1] \"int_delete\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.757098\n", "\n", "[1] \"int_insert\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8632385\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8595887\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9313489\n", "\n", "[1] \"string_delete\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8289395\n", "\n", "[1] \"string_insert\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8040584\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8634171\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"phmap::parallel_node_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9195751\n", "\n", "[1] \"int_delete\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.3386514\n", "\n", "[1] \"int_insert\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.4776956\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.3166032\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.7023769\n", "\n", "[1] \"string_delete\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.3249174\n", "\n", "[1] \"string_insert\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.4975646\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.3211725\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"robin_hood::unordered_flat_map\"\n", "$adj.r.squared\n", "[1] 0.9142466\n", "\n", "[1] \"int_delete\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.4516777\n", "\n", "[1] \"int_insert\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.5488319\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.3199305\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.8757593\n", "\n", "[1] \"string_delete\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.6842687\n", "\n", "[1] \"string_insert\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.6972048\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.5391128\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"robin_hood::unordered_node_map\"\n", "$adj.r.squared\n", "[1] 0.9570433\n", "\n", "[1] \"int_delete\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.3448315\n", "\n", "[1] \"int_insert\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4992321\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4954099\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.6594642\n", "\n", "[1] \"string_delete\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.712502\n", "\n", "[1] \"string_insert\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4647026\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.5741025\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"ska::bytell_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9186759\n", "\n", "[1] \"int_delete\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.1478805\n", "\n", "[1] \"int_insert\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.2901637\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.3854264\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.4208054\n", "\n", "[1] \"string_delete\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.3515788\n", "\n", "[1] \"string_insert\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.7681774\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.9113427\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"ska::flat_hash_map\"\n", "$adj.r.squared\n", "[1] 0.8603994\n", "\n", "[1] \"int_delete\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.4742274\n", "\n", "[1] \"int_insert\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.529828\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.5374982\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.7738706\n", "\n", "[1] \"string_delete\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.8749056\n", "\n", "[1] \"string_insert\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.7615409\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.7571094\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"ska::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.9373415\n", "\n", "[1] \"int_delete\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.5551932\n", "\n", "[1] \"int_insert\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.792038\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.1685661\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.796052\n", "\n", "[1] \"string_delete\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.9418974\n", "\n", "[1] \"string_insert\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.954121\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.2808927\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"std::unordered_map\"\n", "$adj.r.squared\n", "[1] 0.9564568\n", "\n", "[1] \"int_delete\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.2292175\n", "\n", "[1] \"int_insert\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.4492408\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.378055\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.5328279\n", "\n", "[1] \"string_delete\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.5375745\n", "\n", "[1] \"string_insert\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.5818077\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.4678251\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"tsl::hopscotch_map\"\n", "$adj.r.squared\n", "[1] 0.8894541\n", "\n", "[1] \"int_delete\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.1351438\n", "\n", "[1] \"int_insert\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.2857977\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.297073\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.6921538\n", "\n", "[1] \"string_delete\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.3270068\n", "\n", "[1] \"string_insert\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.7677725\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.9016314\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"tsl::robin_map\"\n", "$adj.r.squared\n", "[1] 0.8605267\n", "\n", "[1] \"int_delete\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.7026044\n", "\n", "[1] \"int_insert\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.8152591\n", "\n", "[1] \"int_nosucc_lookup\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.5888382\n", "\n", "[1] \"int_succ_lookup\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.7962225\n", "\n", "[1] \"string_delete\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.7007159\n", "\n", "[1] \"string_insert\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.6287887\n", "\n", "[1] \"string_nosucc_lookup\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.6508464\n", "\n", "[1] \"string_succ_lookup\"\n", "[1] \"tsl::sparse_map\"\n", "$adj.r.squared\n", "[1] 0.8940555\n", "\n" ] }, { "data": { "text/html": [ "$adj.r.squared = 0.894055478227228" ], "text/latex": [ "\\textbf{\\$adj.r.squared} = 0.894055478227228" ], "text/markdown": [ "**$adj.r.squared** = 0.894055478227228" ], "text/plain": [ "$adj.r.squared\n", "[1] 0.8940555\n" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "\n", "for (map in maps){\n", " for (test in tests){\n", " print(test)\n", " print(map)\n", "\n", " temp = subset(x = data, subset = TEST == test & MAP == map)\n", " lm.fit = lm(SIZE~TIME+SQRTIME+LNTIME+LOG2TIME, data=temp)\n", " rsq = summary(lm.fit)[\"adj.r.squared\"]\n", "# print(map)\n", "# print(test)\n", " print(rsq)\n", "\n", " }\n", "}\n", "rsq" ] }, { "cell_type": "code", "execution_count": 33, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "\n", "\n", "\t\n", "\t\n", "\n", "\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\t\n", "\n", "
A data.frame: 871 x 8
XTESTMAPSIZETIMESQRTIMELNTIMELOG2TIME
<int><fct><fct><int><dbl><dbl[,1]><dbl[,1]><dbl[,1]>
121467125551string_succ_lookuptsl::sparse_map50000214.5825763.0445224.392317
121468125552string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121469125553string_succ_lookuptsl::sparse_map50000204.4721362.9957324.321928
121470125554string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121471125555string_succ_lookuptsl::sparse_map50000214.5825763.0445224.392317
121472125556string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121473125557string_succ_lookuptsl::sparse_map50000204.4721362.9957324.321928
121474125558string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121475125559string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121476125560string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121477125561string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121478125562string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121479125563string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121480125564string_succ_lookuptsl::sparse_map50000214.5825763.0445224.392317
121481125565string_succ_lookuptsl::sparse_map50000214.5825763.0445224.392317
121482125566string_succ_lookuptsl::sparse_map50000214.5825763.0445224.392317
121483125567string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121484125568string_succ_lookuptsl::sparse_map50000214.5825763.0445224.392317
121485125569string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121486125570string_succ_lookuptsl::sparse_map50000194.3588992.9444394.247928
121487125571string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121488125572string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121489125573string_succ_lookuptsl::sparse_map50000204.4721362.9957324.321928
121490125574string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121491125575string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121492125576string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121493125577string_succ_lookuptsl::sparse_map50000194.3588992.9444394.247928
121494125578string_succ_lookuptsl::sparse_map50000224.6904163.0910424.459432
121495125579string_succ_lookuptsl::sparse_map50000265.0990203.2580974.700440
121496125580string_succ_lookuptsl::sparse_map50000214.5825763.0445224.392317
...........................
122308126451string_succ_lookuptsl::sparse_map5000000026916.401225.5947118.071462
122309126452string_succ_lookuptsl::sparse_map5000000026916.401225.5947118.071462
122310126453string_succ_lookuptsl::sparse_map5000000026716.340135.5872498.060696
122311126454string_succ_lookuptsl::sparse_map5000000026816.370715.5909878.066089
122312126455string_succ_lookuptsl::sparse_map5000000027016.431685.5984228.076816
122313126456string_succ_lookuptsl::sparse_map5000000027016.431685.5984228.076816
122314126457string_succ_lookuptsl::sparse_map5000000027016.431685.5984228.076816
122315126458string_succ_lookuptsl::sparse_map5000000027016.431685.5984228.076816
122316126459string_succ_lookuptsl::sparse_map5000000026916.401225.5947118.071462
122317126460string_succ_lookuptsl::sparse_map5000000026816.370715.5909878.066089
122318126461string_succ_lookuptsl::sparse_map5000000027116.462085.6021198.082149
122319126462string_succ_lookuptsl::sparse_map5000000027116.462085.6021198.082149
122320126463string_succ_lookuptsl::sparse_map5000000027016.431685.5984228.076816
122321126464string_succ_lookuptsl::sparse_map5000000027016.431685.5984228.076816
122322126465string_succ_lookuptsl::sparse_map5000000027016.431685.5984228.076816
122323126466string_succ_lookuptsl::sparse_map5000000026916.401225.5947118.071462
122324126467string_succ_lookuptsl::sparse_map5000000027116.462085.6021198.082149
122325126468string_succ_lookuptsl::sparse_map5000000026916.401225.5947118.071462
122326126469string_succ_lookuptsl::sparse_map5000000026716.340135.5872498.060696
122327126470string_succ_lookuptsl::sparse_map5000000027016.431685.5984228.076816
122328126471string_succ_lookuptsl::sparse_map5000000026916.401225.5947118.071462
122329126472string_succ_lookuptsl::sparse_map5000000026716.340135.5872498.060696
122330126473string_succ_lookuptsl::sparse_map5000000026916.401225.5947118.071462
122331126474string_succ_lookuptsl::sparse_map5000000026816.370715.5909878.066089
122332126475string_succ_lookuptsl::sparse_map5000000026816.370715.5909878.066089
122333126476string_succ_lookuptsl::sparse_map5000000026616.309515.5834968.055282
122334126477string_succ_lookuptsl::sparse_map5000000027016.431685.5984228.076816
122335126478string_succ_lookuptsl::sparse_map5000000027016.431685.5984228.076816
122336126479string_succ_lookuptsl::sparse_map5000000027216.492425.6058028.087463
122337126480string_succ_lookuptsl::sparse_map5000000026816.370715.5909878.066089
\n" ], "text/latex": [ "A data.frame: 871 x 8\n", "\\begin{tabular}{r|llllllll}\n", " & X & TEST & MAP & SIZE & TIME & SQRTIME & LNTIME & LOG2TIME\\\\\n", " & & & & & & & & \\\\\n", "\\hline\n", "\t121467 & 125551 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n", "\t121468 & 125552 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121469 & 125553 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 20 & 4.472136 & 2.995732 & 4.321928\\\\\n", "\t121470 & 125554 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121471 & 125555 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n", "\t121472 & 125556 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121473 & 125557 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 20 & 4.472136 & 2.995732 & 4.321928\\\\\n", "\t121474 & 125558 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121475 & 125559 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121476 & 125560 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121477 & 125561 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121478 & 125562 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121479 & 125563 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121480 & 125564 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n", "\t121481 & 125565 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n", "\t121482 & 125566 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n", "\t121483 & 125567 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121484 & 125568 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n", "\t121485 & 125569 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121486 & 125570 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 19 & 4.358899 & 2.944439 & 4.247928\\\\\n", "\t121487 & 125571 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121488 & 125572 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121489 & 125573 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 20 & 4.472136 & 2.995732 & 4.321928\\\\\n", "\t121490 & 125574 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121491 & 125575 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121492 & 125576 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121493 & 125577 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 19 & 4.358899 & 2.944439 & 4.247928\\\\\n", "\t121494 & 125578 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 22 & 4.690416 & 3.091042 & 4.459432\\\\\n", "\t121495 & 125579 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 26 & 5.099020 & 3.258097 & 4.700440\\\\\n", "\t121496 & 125580 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000 & 21 & 4.582576 & 3.044522 & 4.392317\\\\\n", "\t... & ... & ... & ... & ... & ... & ... & ... & ...\\\\\n", "\t122308 & 126451 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n", "\t122309 & 126452 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n", "\t122310 & 126453 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 267 & 16.34013 & 5.587249 & 8.060696\\\\\n", "\t122311 & 126454 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 268 & 16.37071 & 5.590987 & 8.066089\\\\\n", "\t122312 & 126455 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n", "\t122313 & 126456 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n", "\t122314 & 126457 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n", "\t122315 & 126458 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n", "\t122316 & 126459 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n", "\t122317 & 126460 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 268 & 16.37071 & 5.590987 & 8.066089\\\\\n", "\t122318 & 126461 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 271 & 16.46208 & 5.602119 & 8.082149\\\\\n", "\t122319 & 126462 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 271 & 16.46208 & 5.602119 & 8.082149\\\\\n", "\t122320 & 126463 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n", "\t122321 & 126464 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n", "\t122322 & 126465 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n", "\t122323 & 126466 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n", "\t122324 & 126467 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 271 & 16.46208 & 5.602119 & 8.082149\\\\\n", "\t122325 & 126468 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n", "\t122326 & 126469 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 267 & 16.34013 & 5.587249 & 8.060696\\\\\n", "\t122327 & 126470 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n", "\t122328 & 126471 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n", "\t122329 & 126472 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 267 & 16.34013 & 5.587249 & 8.060696\\\\\n", "\t122330 & 126473 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 269 & 16.40122 & 5.594711 & 8.071462\\\\\n", "\t122331 & 126474 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 268 & 16.37071 & 5.590987 & 8.066089\\\\\n", "\t122332 & 126475 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 268 & 16.37071 & 5.590987 & 8.066089\\\\\n", "\t122333 & 126476 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 266 & 16.30951 & 5.583496 & 8.055282\\\\\n", "\t122334 & 126477 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n", "\t122335 & 126478 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 270 & 16.43168 & 5.598422 & 8.076816\\\\\n", "\t122336 & 126479 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 272 & 16.49242 & 5.605802 & 8.087463\\\\\n", "\t122337 & 126480 & string\\_succ\\_lookup & tsl::sparse\\_map & 50000000 & 268 & 16.37071 & 5.590987 & 8.066089\\\\\n", "\\end{tabular}\n" ], "text/markdown": [ "\n", "A data.frame: 871 x 8\n", "\n", "| | X <int> | TEST <fct> | MAP <fct> | SIZE <int> | TIME <dbl> | SQRTIME <dbl[,1]> | LNTIME <dbl[,1]> | LOG2TIME <dbl[,1]> |\n", "|---|---|---|---|---|---|---|---|---|\n", "| 121467 | 125551 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n", "| 121468 | 125552 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121469 | 125553 | string_succ_lookup | tsl::sparse_map | 50000 | 20 | 4.472136 | 2.995732 | 4.321928 |\n", "| 121470 | 125554 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121471 | 125555 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n", "| 121472 | 125556 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121473 | 125557 | string_succ_lookup | tsl::sparse_map | 50000 | 20 | 4.472136 | 2.995732 | 4.321928 |\n", "| 121474 | 125558 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121475 | 125559 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121476 | 125560 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121477 | 125561 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121478 | 125562 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121479 | 125563 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121480 | 125564 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n", "| 121481 | 125565 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n", "| 121482 | 125566 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n", "| 121483 | 125567 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121484 | 125568 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n", "| 121485 | 125569 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121486 | 125570 | string_succ_lookup | tsl::sparse_map | 50000 | 19 | 4.358899 | 2.944439 | 4.247928 |\n", "| 121487 | 125571 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121488 | 125572 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121489 | 125573 | string_succ_lookup | tsl::sparse_map | 50000 | 20 | 4.472136 | 2.995732 | 4.321928 |\n", "| 121490 | 125574 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121491 | 125575 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121492 | 125576 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121493 | 125577 | string_succ_lookup | tsl::sparse_map | 50000 | 19 | 4.358899 | 2.944439 | 4.247928 |\n", "| 121494 | 125578 | string_succ_lookup | tsl::sparse_map | 50000 | 22 | 4.690416 | 3.091042 | 4.459432 |\n", "| 121495 | 125579 | string_succ_lookup | tsl::sparse_map | 50000 | 26 | 5.099020 | 3.258097 | 4.700440 |\n", "| 121496 | 125580 | string_succ_lookup | tsl::sparse_map | 50000 | 21 | 4.582576 | 3.044522 | 4.392317 |\n", "| ... | ... | ... | ... | ... | ... | ... | ... | ... |\n", "| 122308 | 126451 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n", "| 122309 | 126452 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n", "| 122310 | 126453 | string_succ_lookup | tsl::sparse_map | 50000000 | 267 | 16.34013 | 5.587249 | 8.060696 |\n", "| 122311 | 126454 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |\n", "| 122312 | 126455 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n", "| 122313 | 126456 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n", "| 122314 | 126457 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n", "| 122315 | 126458 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n", "| 122316 | 126459 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n", "| 122317 | 126460 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |\n", "| 122318 | 126461 | string_succ_lookup | tsl::sparse_map | 50000000 | 271 | 16.46208 | 5.602119 | 8.082149 |\n", "| 122319 | 126462 | string_succ_lookup | tsl::sparse_map | 50000000 | 271 | 16.46208 | 5.602119 | 8.082149 |\n", "| 122320 | 126463 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n", "| 122321 | 126464 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n", "| 122322 | 126465 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n", "| 122323 | 126466 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n", "| 122324 | 126467 | string_succ_lookup | tsl::sparse_map | 50000000 | 271 | 16.46208 | 5.602119 | 8.082149 |\n", "| 122325 | 126468 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n", "| 122326 | 126469 | string_succ_lookup | tsl::sparse_map | 50000000 | 267 | 16.34013 | 5.587249 | 8.060696 |\n", "| 122327 | 126470 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n", "| 122328 | 126471 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n", "| 122329 | 126472 | string_succ_lookup | tsl::sparse_map | 50000000 | 267 | 16.34013 | 5.587249 | 8.060696 |\n", "| 122330 | 126473 | string_succ_lookup | tsl::sparse_map | 50000000 | 269 | 16.40122 | 5.594711 | 8.071462 |\n", "| 122331 | 126474 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |\n", "| 122332 | 126475 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |\n", "| 122333 | 126476 | string_succ_lookup | tsl::sparse_map | 50000000 | 266 | 16.30951 | 5.583496 | 8.055282 |\n", "| 122334 | 126477 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n", "| 122335 | 126478 | string_succ_lookup | tsl::sparse_map | 50000000 | 270 | 16.43168 | 5.598422 | 8.076816 |\n", "| 122336 | 126479 | string_succ_lookup | tsl::sparse_map | 50000000 | 272 | 16.49242 | 5.605802 | 8.087463 |\n", "| 122337 | 126480 | string_succ_lookup | tsl::sparse_map | 50000000 | 268 | 16.37071 | 5.590987 | 8.066089 |\n", "\n" ], "text/plain": [ " X TEST MAP SIZE TIME SQRTIME \n", "121467 125551 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n", "121468 125552 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121469 125553 string_succ_lookup tsl::sparse_map 50000 20 4.472136\n", "121470 125554 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121471 125555 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n", "121472 125556 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121473 125557 string_succ_lookup tsl::sparse_map 50000 20 4.472136\n", "121474 125558 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121475 125559 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121476 125560 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121477 125561 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121478 125562 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121479 125563 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121480 125564 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n", "121481 125565 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n", "121482 125566 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n", "121483 125567 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121484 125568 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n", "121485 125569 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121486 125570 string_succ_lookup tsl::sparse_map 50000 19 4.358899\n", "121487 125571 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121488 125572 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121489 125573 string_succ_lookup tsl::sparse_map 50000 20 4.472136\n", "121490 125574 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121491 125575 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121492 125576 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121493 125577 string_succ_lookup tsl::sparse_map 50000 19 4.358899\n", "121494 125578 string_succ_lookup tsl::sparse_map 50000 22 4.690416\n", "121495 125579 string_succ_lookup tsl::sparse_map 50000 26 5.099020\n", "121496 125580 string_succ_lookup tsl::sparse_map 50000 21 4.582576\n", "... ... ... ... ... ... ... \n", "122308 126451 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n", "122309 126452 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n", "122310 126453 string_succ_lookup tsl::sparse_map 50000000 267 16.34013\n", "122311 126454 string_succ_lookup tsl::sparse_map 50000000 268 16.37071\n", "122312 126455 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n", "122313 126456 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n", "122314 126457 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n", "122315 126458 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n", "122316 126459 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n", "122317 126460 string_succ_lookup tsl::sparse_map 50000000 268 16.37071\n", "122318 126461 string_succ_lookup tsl::sparse_map 50000000 271 16.46208\n", "122319 126462 string_succ_lookup tsl::sparse_map 50000000 271 16.46208\n", "122320 126463 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n", "122321 126464 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n", "122322 126465 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n", "122323 126466 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n", "122324 126467 string_succ_lookup tsl::sparse_map 50000000 271 16.46208\n", "122325 126468 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n", "122326 126469 string_succ_lookup tsl::sparse_map 50000000 267 16.34013\n", "122327 126470 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n", "122328 126471 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n", "122329 126472 string_succ_lookup tsl::sparse_map 50000000 267 16.34013\n", "122330 126473 string_succ_lookup tsl::sparse_map 50000000 269 16.40122\n", "122331 126474 string_succ_lookup tsl::sparse_map 50000000 268 16.37071\n", "122332 126475 string_succ_lookup tsl::sparse_map 50000000 268 16.37071\n", "122333 126476 string_succ_lookup tsl::sparse_map 50000000 266 16.30951\n", "122334 126477 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n", "122335 126478 string_succ_lookup tsl::sparse_map 50000000 270 16.43168\n", "122336 126479 string_succ_lookup tsl::sparse_map 50000000 272 16.49242\n", "122337 126480 string_succ_lookup tsl::sparse_map 50000000 268 16.37071\n", " LNTIME LOG2TIME\n", "121467 3.044522 4.392317\n", "121468 3.091042 4.459432\n", "121469 2.995732 4.321928\n", "121470 3.091042 4.459432\n", "121471 3.044522 4.392317\n", "121472 3.091042 4.459432\n", "121473 2.995732 4.321928\n", "121474 3.091042 4.459432\n", "121475 3.091042 4.459432\n", "121476 3.091042 4.459432\n", "121477 3.091042 4.459432\n", "121478 3.091042 4.459432\n", "121479 3.091042 4.459432\n", "121480 3.044522 4.392317\n", "121481 3.044522 4.392317\n", "121482 3.044522 4.392317\n", "121483 3.091042 4.459432\n", "121484 3.044522 4.392317\n", "121485 3.091042 4.459432\n", "121486 2.944439 4.247928\n", "121487 3.091042 4.459432\n", "121488 3.091042 4.459432\n", "121489 2.995732 4.321928\n", "121490 3.091042 4.459432\n", "121491 3.091042 4.459432\n", "121492 3.091042 4.459432\n", "121493 2.944439 4.247928\n", "121494 3.091042 4.459432\n", "121495 3.258097 4.700440\n", "121496 3.044522 4.392317\n", "... ... ... \n", "122308 5.594711 8.071462\n", "122309 5.594711 8.071462\n", "122310 5.587249 8.060696\n", "122311 5.590987 8.066089\n", "122312 5.598422 8.076816\n", "122313 5.598422 8.076816\n", "122314 5.598422 8.076816\n", "122315 5.598422 8.076816\n", "122316 5.594711 8.071462\n", "122317 5.590987 8.066089\n", "122318 5.602119 8.082149\n", "122319 5.602119 8.082149\n", "122320 5.598422 8.076816\n", "122321 5.598422 8.076816\n", "122322 5.598422 8.076816\n", "122323 5.594711 8.071462\n", "122324 5.602119 8.082149\n", "122325 5.594711 8.071462\n", "122326 5.587249 8.060696\n", "122327 5.598422 8.076816\n", "122328 5.594711 8.071462\n", "122329 5.587249 8.060696\n", "122330 5.594711 8.071462\n", "122331 5.590987 8.066089\n", "122332 5.590987 8.066089\n", "122333 5.583496 8.055282\n", "122334 5.598422 8.076816\n", "122335 5.598422 8.076816\n", "122336 5.605802 8.087463\n", "122337 5.590987 8.066089" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "datatemp = subset(x = data, subset = TEST == test & MAP == map)\n", "datatemp" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": 201, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "R", "language": "R", "name": "ir" }, "language_info": { "codemirror_mode": "r", "file_extension": ".r", "mimetype": "text/x-r-source", "name": "R", "pygments_lexer": "r", "version": "3.6.3" } }, "nbformat": 4, "nbformat_minor": 4 }