Small memory footprint reduction for folly::MultiLevelTimeSeries
authorBrian Pane <brianp@fb.com>
Wed, 13 Aug 2014 06:00:02 +0000 (23:00 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 14 Aug 2014 18:49:04 +0000 (11:49 -0700)
commit747f8a8ecd2513c43b605591147f68b52b5276d1
treea518920f67f7de6a20aaf387da1da7ba9e17494b
parent8925b6420691565261581f15a94203a188c1628b
Small memory footprint reduction for folly::MultiLevelTimeSeries

Summary:
* Spend some extra time in getNumBuckets() in order to save
space: 8 bytes per object on 64-bit platforms.

Test Plan: Ran the unit tests

Reviewed By: simpkins@fb.com

Subscribers: ruibalp

FB internal diff: D1488345
folly/stats/MultiLevelTimeSeries-defs.h
folly/stats/MultiLevelTimeSeries.h