eddelbuettel / bh

R package providing Boost Header files
85 stars 32 forks source link

Boost Flyweight #26

Closed jasonelaw closed 8 years ago

jasonelaw commented 8 years ago

Is it possible to add Boost Flyweight at some point? The memoisation example looks really attractive for a recursive function I'm trying to write using Rcpp.

eddelbuettel commented 8 years ago

Sure. We do have a history of accepting such extensions upon request. Let me take a look.

eddelbuettel commented 8 years ago

That is pretty light:

edd@max:~$ du -h /usr/include/boost/flyweight/
72K     /usr/include/boost/flyweight/detail
212K    /usr/include/boost/flyweight/
edd@max:~$ 

though it may depends on some other things we do not yet have but this should not pose a problem.

jasonelaw commented 8 years ago

Thanks! You guys really do amazing work with Rcpp. Much appreciated.

eddelbuettel commented 8 years ago

Thanks for being so patient. I just got a pull request with Boost ICL (aka interval containers) so I'll add flyweight next.

jasonelaw commented 8 years ago

Thank you! Much appreciated.