search for: sturctur

Displaying 9 results from an estimated 9 matches for "sturctur".

Did you mean: structur
2004 Mar 27
1
building a list in loop
Hello getdata <- function(p){ fname <- NULL; dl <- list()#build the sturcture builddl <- function(q,s){ fname <<- c(fname,s) #where "s" is a string dl <<- list( dl, dt2) } list(names = fname, data = dl) } data <- getdata("c:\somepath") > data $names [1] "fname" $data $data[[1]] <--- since there is no [[1]] h...
2019 Jan 31
2
Object.size() should not visit every element for alt-rep strings, or there should be an altstring_objectsize_method
Below is a toy alt-rep string example, 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
2017 Oct 13
1
small files performance
...he > >> directory structure, the worse. > >> - for every file created, Gluster creates another file in .glusterfs > >> directory, doubling the required IO and network latency. What's worse, > >> XFS, the recommended filesystem, doesn't like flat directory sturcture > >> with thousands files in each directory. But that's exactly how Gluster > >> stores its metadata in .glusterfs, so the performance decreases by > >> 40-50% after 10M files. > >> - complete directory structure is created on each of the bricks. So > &gt...
2014 Mar 14
2
[LLVMdev] [ARM] [PIC] optimizing the loading of hidden global variable
Hi Tim, The global merge pass puts the GVs into a sturcture to guarantee their address are contiguous. It works for static GVs but for global hidden GVs, this will cause name resoltion fail during linking .o into .so Any thoughs? Thanks, Weiming > Hi Weiming, > > On 12 March 2014 17:43, Weiming Zhao <weimingz at codeaurora.org> wrote: &g...
2019 Jan 31
0
Object.size() should not visit every element for alt-rep strings, or there should be an altstring_objectsize_method
You should really take this up with RStudio. Calling object.size on every top level assignment as they appear to do is a bad idea, even without ALTREP. object.size is only a cheap operation for simple atomic vectors. For anything with recursive sturcture it needs to walk the object, so the effort is proprtional to object size: > x <- rep("A", 1e8) > system.time(object.size(x)) user system elapsed 1.222 0.624 1.850 > x <- rep(list(1), 1e8) > system.time(object.size(x)) user system elapsed 1.247 0....
2014 Mar 12
3
[LLVMdev] [ARM] [PIC] optimizing the loading of hidden global variable
Hi, When I’m compiling a code with –fvisibility=hidden –fPIC for ARM, I find that LLVM generates less optimized code than GCC. For example: test.cpp: void init(void *); int g0[100]; int g1[100]; int g2[100]; void foo() { init(&g0); init(&g1); init(&g2); } Clang will emit 1 GOT entry for each GV and 2 instructions to get the address: ldr
2004 Aug 20
3
Samba unix password sync
Hello all: I know I had posted this question a while ago, but I have just not been able to get it to work. I am trying to sync samba passwords with unix passwords and it is just not working. I have attached the results of "testparm -sv /etc/samba/smb.conf > smbconfig.txt" with this email. I have also attached the "net groupmap list" results. If anyone can provide any
2006 May 17
20
X86_emulate to be moved into qemu...
> Hmmm... wouldn''t it be nice if we didn''t have a bespoke, > buggy & incomplete emulator for hvm mmio. ;-) In the process of solving this one, I''ve got to (another) of the blocking points... At the moment, we translate the virtual address from the guest in the page-fault-handler to guest physical address via the gva_to_gpa() function in svm.c/vmx.c:
2020 Jun 17
11
Blog article about the state of CentOS
Hi, I just read this blog article from austrian Linux expert Michael Kofler. For those among you who don't know the guy, he's my home country's number one Linux expert (known as "der Kofler") and most notably the author of a series of excellent books about Linux over the last 25 years. https://kofler.info/centos-8-wertlose-langzeitunterstuetzung/ Disclaimer : I've been