Searched hist:"0 d312fea71ad67c08d8d99299d2717ecaa9548df" (Results 1 – 1 of 1) sorted by relevance
/haiku/src/servers/app/ |
H A D | View.cpp | 0d312fea71ad67c08d8d99299d2717ecaa9548df Sun Mar 01 02:19:07 UTC 2020 Augustin Cavalier <waddlesplash@gmail.com> app_server: Reduce usage of the RegionPool where unnecessary.
BRegions with only 1 rectangle will use inline data and perform no allocations, so when we create a BRegion and only add one rect to it, we can just use one inline and avoid using the pool entirely at no cost (and some savings.)
No functional change (intended).
Change-Id: I10ac6bc7b5cf6b681641e88558a3f1ba770b6f77 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2298 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|