|
| 1 | +2026-10-23 Dirk Eddelbuettel <edd@debian.org> |
| 2 | + |
| 3 | + * DESCRIPTION (Version, Date): Roll micro version and date |
| 4 | + * inst/include/Rcpp/config.h: Idem |
| 5 | + |
1 | 6 | 2026-10-22 Michael Sumner <mdsumner@gmail.com> |
2 | 7 |
|
3 | | - * R/00_classes.R: Define C++Field, C++OverloadedMethods and C++Constructor |
4 | | - as plain S4 classes instead of reference classes, as creating one reference |
5 | | - class object per exposed method dominated the time spent loading a module; |
6 | | - add '$' and '$<-' methods for backwards compatibility |
| 8 | + * R/00_classes.R: Define C++Field, C++OverloadedMethods and |
| 9 | + C++Constructor as S4 classes as creating one reference class |
| 10 | + object per exposed method dominated the time spent loading a |
| 11 | + module; add '$' and '$<-' methods for backwards compatibility |
7 | 12 | * R/00_classes.R (.cpp_methods_info): Former 'info' reference method |
8 | 13 | * R/01_show.R: Use slot access and .cpp_methods_info() |
9 | 14 | * R/Module.R (method_wrapper, binding_maker): Idem |
|
14 | 19 |
|
15 | 20 | 2026-10-21 Michael Sumner <mdsumner@gmail.com> |
16 | 21 |
|
17 | | - * R/Module.R (Module): Supply the 'initialize' method to setRefClass() with |
18 | | - the other methods instead of adding it in a second generator$methods() |
19 | | - call, which repeated the reference class analysis of every exposed |
20 | | - method, and reuse the C++Class objects returned by |
21 | | - Module__classes_info() rather than rebuilding each of them via |
22 | | - .get_Module_Class(); both reduce the time spent loading a module (#1515) |
23 | | - * R/Module.R (Module): Take the class representation from the generator |
24 | | - rather than looking it up by name with methods::getClass(), which |
25 | | - ignores 'where' and can return another loaded package's class of the same |
26 | | - name |
27 | | - * R/Module.R (Module): Register as(FROM, TO) converters after the loop |
| 22 | + * R/Module.R: Supply 'initialize' method to setRefClass() with |
| 23 | + other methods instead of adding second generator$methods() call, |
| 24 | + which repeated reference class analysis of every exposed method, |
| 25 | + * R/Module.R (Module): Take class representation from generator |
| 26 | + rather than looking up by name with methods::getClass() |
| 27 | + * R/Module.R (Module): Register as(FROM, TO) converters after loop |
28 | 28 | that populates 'storage' rather than once per function inside it |
29 | | - * R/Module.R (Module): Match the 'show' method name exactly rather than as |
30 | | - a substring, so a class exposing e.g. 'showInfo' keeps the C++Object show |
31 | | - method |
| 29 | + * R/Module.R (Module): Match 'show' method name exactly rather |
| 30 | + than as a substring, so a class exposing C++Object show method |
32 | 31 |
|
33 | 32 | * DESCRIPTION (Version, Date): Roll micro version and date |
34 | 33 | * inst/include/Rcpp/config.h: Idem |
|
0 commit comments