The R Project SVN R

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
42208 6955 d 4 h murdoch /branches/djm-source/ Recreate branch from trunk  
41894 6989 d 2 h ripley /trunk/ deriv was returning double not int dims
make use of mkString and ScalarXXX to simplify code
 
41883 6989 d 23 h ripley /trunk/src/ remove non-longer-needed casts
don't use variable as format in error.
 
41807 6993 d 1 h rgentlem /trunk/ patches from Seth F for the CHARSXP hashing changes
Seth says:
const char fixes

CHAR() internal macro now returns (const char *)

Add CHAR_RW: writable CHARSXP access for internal R use only

const char fixes for methods package

Add NEWS item and some doc to R-ext for CHARSXP changes
 
41784 6995 d 8 h ripley /trunk/src/ more 'const char *'  
41768 6996 d 12 h ripley /trunk/src/main/ remove unused variable  
41767 6996 d 19 h rgentlem /trunk/src/ more patches from Seth F, for the CHARSXP hashing
Seth says:
This patch series teaches R_StringHash how to handle the encoding
information stored in the general purpose bits of CHARSXPs. A new
interface for CHARSXP creation is added, mkCharEnc that allows for
specifying the encoding.

The patch series also captures more CHARSXPs in the global cache. In
particular, character.c:mkChar2 and gram.y:mkChar2 both use the cache
now.

The string hashing in scan.c has been removed as it no longer is
needed.

The CallocCharBuf macro gets a small fix (extra parens)

And last, but not least:

CHAR() from package code now returns (const char *)

Since CHARSXPs should no longer be modified in place, we can make
CHAR() return (const char *) so that compilers can warn or error about
improper modification. Thanks to Herve Pages for the suggestions.
 
41715 7002 d 10 h ripley /trunk/ improvements to error/warning messages  
41713 7003 d 1 h ripley /trunk/src/main/ improvements to error messages  
41689 7004 d 16 h rgentlem /trunk/src/main/ seth says:
Cleanup of CHARSXP cache code

Separate functions for char* key hash tables and wrappers/macros for
accessing the R_StringHash global.


Fix GC related bug in global CHARSXP cache

If a GC happened to occur during a resize operation it was possible to
loose CHARSXP entries in the new (resized) hash table. During resize
calls for R_StringHash, we temporarily place the entire cache on the
precious object list to prevent any changes during resize.
 
41540 7016 d 10 h ripley /trunk/src/main/ shut up another warning  
41536 7016 d 16 h ripley /trunk/src/ stop some warnings  
41495 7019 d 20 h rgentlem /trunk/src/ a large number of changes to alter the behavior of CHARSXPs so that
they are unique and hashed. This will have some effect on run time, but
for any application which uses a lot of names (like big arrays with
row or column names) the savings are often impressive
 
40801 7092 d 9 h ripley /trunk/src/ tidy up visibility  
40705 7104 d 9 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40586 7121 d 8 h ripley /trunk/src/main/ suppress -Wall warning, typo  
40581 7121 d 15 h rgentlem /trunk/ patched new.env to allow users to specify the size, plus a few
tidying up operations
 
40580 7121 d 15 h rgentlem /trunk/src/ patches to add env.profile to R allowing for the easy collection of summary
statistics on environments
 
40273 7158 d 8 h ripley /trunk/ stack overflow check in isMissing (PR#9426)  
40093 7177 d 22 h ripley /trunk/ tidy up  

Show All