提交 9d6511a7 编写于 作者: B Behdad Esfahbod

[set] Reduce number of preallocated pages from 8 to 1

Now that pagesize is 8192, this feels better.
上级 ae2e2b06
......@@ -182,7 +182,7 @@ struct hb_set_t
ASSERT_POD ();
bool in_error;
hb_prealloced_array_t<page_map_t, 8> page_map;
hb_prealloced_array_t<page_t, 8> pages;
hb_prealloced_array_t<page_t, 1> pages;
inline void init (void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册