|
Geometry : |
Subject: [ggl] rtree min and max elements
From: feverzsj
Date: 2011-05-13 22:00:17
hi, Adam
> What do you think about passing max and min elements as compile-time
> template parameters instead of run-time constructor parameters? We
> could implement some further optimizations.
>
> index::rtree<Value, 32, 8> t;
>
> instead of
>
> index::rtree<Value> t(32, 8);
I'd prefer template parameters, but the user should get well informed
about how to set up optimized parameters (maybe offer some meta functions).
regards, ZhouShuangJiang
Geometry list run by mateusz at loskot.net