Skip to content

Commit

Permalink
revert std::map
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmang committed Oct 16, 2023
1 parent 0205ef3 commit e83e7d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vowpalwabbit/core/include/vw/core/array_parameters_sparse.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <cstddef>
#include <functional>
#include <map>
#include <unordered_map>
#include <memory>

namespace VW
Expand All @@ -20,7 +20,7 @@ class sparse_parameters;
namespace details
{

using weight_map = std::map<uint64_t, std::shared_ptr<VW::weight>>;
using weight_map = std::unordered_map<uint64_t, std::shared_ptr<VW::weight>>;

template <typename T>
class sparse_iterator
Expand Down

0 comments on commit e83e7d9

Please sign in to comment.