search for: set_altstring_elt_method

Displaying 8 results from an estimated 8 matches for "set_altstring_elt_method".

2019 Jan 31
2
Object.size() should not visit every element for alt-rep strings, or there should be an altstring_objectsize_method
...ample, that generates N random strings: https://gist.github.com/traversc/a48a504eb062554f2d6ff8043ca16f9c example: `x <- altrandomStrings(1e8)` `head(x)` [1] "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ... `object.size(1e8)` Object.size will call the `set_altstring_Elt_method` for every single element, materializing (slowly) every element of the vector. This is a problem mostly in R-studio since object.size is called automatically, defeating the purpose of alt-rep entirely.
2019 Jan 15
4
Objectsize function visiting every element for alt-rep strings
I have a toy alt-rep string package that generates randomly seeded strings. example: library(altstringisode) x <- altrandomStrings(1e8) head(x) [1] "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ... etc object.size(1e8) Object.size will call the set_altstring_Elt_method for every single element, materializing (slowly) every element of the vector. This is a problem mostly in R-studio since object.size is called automatically, defeating the purpose of alt-rep. Is there a way to avoid the problem of forced materialization in rstudio? PS: Is there a way to tell if...
2019 Jan 22
2
Objectsize function visiting every element for alt-rep strings
...> randomly seeded strings. example: library(altstringisode) > > x <- altrandomStrings(1e8) head(x) [1] > > "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" > > "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ... etc object.size(1e8) > > > Object.size will call the set_altstring_Elt_method for > > every single element, materializing (slowly) every element > > of the vector. This is a problem mostly in R-studio since > > object.size is called automatically, defeating the purpose > > of alt-rep. There is no sensible way in general to figure out how...
2019 Jan 31
0
Object.size() should not visit every element for alt-rep strings, or there should be an altstring_objectsize_method
...t; https://gist.github.com/traversc/a48a504eb062554f2d6ff8043ca16f9c > > example: > `x <- altrandomStrings(1e8)` > `head(x)` > [1] "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ... > `object.size(1e8)` > > Object.size will call the `set_altstring_Elt_method` for every single > element, materializing (slowly) every element of the vector. This is > a problem mostly in R-studio since object.size is called > automatically, defeating the purpose of alt-rep entirely. > > ______________________________________________ > R-devel at r-projec...
2019 Jan 21
0
Objectsize function visiting every element for alt-rep strings
...that generates > randomly seeded strings. example: library(altstringisode) > x <- altrandomStrings(1e8) head(x) [1] > "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" > "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ... etc object.size(1e8) > Object.size will call the set_altstring_Elt_method for > every single element, materializing (slowly) every element > of the vector. This is a problem mostly in R-studio since > object.size is called automatically, defeating the purpose > of alt-rep. Hmm. But still, the idea had been that object.size() *shuld* return...
2019 Jan 18
0
Objectsize function visiting every element for alt-rep strings
...at generates randomly seeded strings. > > example: > library(altstringisode) > x <- altrandomStrings(1e8) > head(x) > [1] "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ... > etc > object.size(1e8) > > Object.size will call the set_altstring_Elt_method for every single > element, materializing (slowly) every element of the vector. This is > a problem mostly in R-studio since object.size is called > automatically, defeating the purpose of alt-rep. > > Is there a way to avoid the problem of forced materialization in rstudio? > &g...
2019 Jan 23
1
Objectsize function visiting every element for alt-rep strings
...ary(altstringisode) >>> > x <- altrandomStrings(1e8) head(x) [1] >>> > "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" >>> > "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ... etc object.size(1e8) >>> >>> > Object.size will call the set_altstring_Elt_method for >>> > every single element, materializing (slowly) every element >>> > of the vector. This is a problem mostly in R-studio since >>> > object.size is called automatically, defeating the purpose >>> > of alt-rep. >> There is...
2019 Jan 22
0
Objectsize function visiting every element for alt-rep strings
...ngs. example: library(altstringisode) > > > x <- altrandomStrings(1e8) head(x) [1] > > > "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" > > > "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ... etc object.size(1e8) > > > > > Object.size will call the set_altstring_Elt_method for > > > every single element, materializing (slowly) every element > > > of the vector. This is a problem mostly in R-studio since > > > object.size is called automatically, defeating the purpose > > > of alt-rep. > > There is no sensible way...