aboutsummaryrefslogtreecommitdiffhomepage
path: root/util/python/BUILD
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-10-27 08:10:54 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-10-27 09:21:12 -0700
commit80aec93166dadb2dc30250e1251ab3eb006c2d53 (patch)
treec34632f2f255eda56214559ff7d7d54878a6a6c9 /util/python/BUILD
parente43eaf662db492c909e6cab8c954178b75f7b63d (diff)
Added new tensorflow::gtl::FlatMap and tensorflow::gtl::FlatSet classes.
Mostly drop-in replacements for std::unordered_map and std::unordered_set, but much faster (does not do an allocation per entry, and represents entries in groups of 8 in a flat array, which is much more cache efficient). Benchmarks not included in this cl show about 3X to 5X performance improvements over the std::unordered_{set,map} for many kinds of common maps e.g. std::unordered_mapmap<int64, int64> or std::unordered_map<string, int64>. Change: 137401863
Diffstat (limited to 'util/python/BUILD')
0 files changed, 0 insertions, 0 deletions