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