Displaying 20 results from an estimated 600 matches similar to: "removing data look-ahead, something faster."
2012 Mar 05
1
index instead of loop?
Hello,
Does anyone know of a way I can speed this up? Basically I'm attempting to
get the data item on the same row as the report date for each report date
available. In reality, I have over 11k of columns, not just A, B, C, D and
I have to do that over 100 times. My solution is slow, but it works. The
loop is slow because of merge.
# create sample data
z.dates =
2012 Mar 02
3
speed up merge
Hello,
I have a nasty loop that I have to do 11877 times. The only thing that
slows it down really is this merge:
xx1 = merge(dt,ua_rd,by.x=1,by.y= 'rt_date',all.x=T)
Any ideas on how to speed it up? The output can't change materially (it
works), but I'd like it to go faster. I'm looking at getting around the
loop (not shown), but I'm trying to speed up the merge first.
2006 Jul 13
1
ts and stl functions - still a problem
Hi
I am still having problems with using the stl function, when I read the csv file into R into a file called tkr and use dim(tkr) the result is 132 1 which is fine.
When coerce it into a trime series using ts either:
tstkr <- ts(t(tkr), deltat=1/12) or
tstkr <- ts(c(tkr), deltat=1/12)
and use the stl function I get the following error:
Error in
2007 Apr 11
1
bind or samba configuration preventing browsing network
I have a networking problem where I am not certain if the problem is
samba or bind. I am still pretty much a nb at linux. The machine in
question is running openSuSE 10.2 and is named rd1. I had samba working
fine before I started to make it a WINS server and DNS host.
I have a small LAN with no real administration functionality. The
network is used for simple file sharing and dial-up
2012 Mar 07
1
extract same columns and rows in two matrices
Hello,
I have two matrices. They both have different row names and column names,
but they have some common row names and column names. The row names and
column names that are the same are what I am interested in. I also want the
columns in the two matrices aligned the same. In the end, I need to do
rd[1,1] and ua[1,1], for example and be accessing the same column and row
for both matrices. Thank
2006 Jul 12
1
ts and stl functions
Hi,
I have imported a csv file into R which contains one column (the rate er 100,000 population of a disease, by month over 11 years) I coerced into a time series using the following function,
tstkr<-ts(tkr,deltat=1/12)
This seems to work fine, and when I check for the class of the object using class(tstkr) I get "ts" as the response.
When I try to use the stl function in
2006 Jul 12
0
ts command and stl function
Hi,
I have imported a csv file into R which contains one column (the rate er
100,000 population of a disease, by month over 11 years) I coerced into
a time series using the following function,
tstkr<-ts(tkr,deltat=1/12)
This seems to work fine, and when I check for the class of the object
using class(tstkr) I get "ts" as the response.
When I try to use the stl function in stats
2020 Mar 23
3
[InstCombine] Addrspacecast and GEP assumed commutative
I'm not sure what the usual "ping time" is for llvm-dev, but may I ask if there are any updates on this?
It appears that the following lines are the root cause of the reordering (https://github.com/llvm/llvm-project/blob/fdcb27105537f77c78c4473d4f7c47146ddbab69/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp#L2175):
// Handle gep(bitcast x) and gep(gep x, 0, 0, 0).
Value
2012 Mar 01
1
fill data forward in data frame.
Hello,
My direct desire is a good (fast) way to fill values forward until there is
another value then fill that value foward in the data xx (at the bottom of
this email). For example, from row 1 to row 45 should be NA (no change),
but from row 46 row 136 the value should be 12649, and from row 137 to the
next value should be 13039.00. The last line of code is all you need for
this part.
If you
2009 Jan 06
1
[LLVMdev] Look-ahead instruction selection
Maybe I didn't describe the question very well.
I want to match these patterns:
(and (mul node:$val0, node:$val1))
(and (add node:$val0, node:$val1))
(and (sub node:$val0, node:$val1))
(and (udiv node:$val0, node:$val1))
into "four" different machines instructions, respectively:
MUL_AND
ADD_AND
SUB_AND
UDIV_AND
That is, this machine is capable of doing an
2015 Jan 26
2
[LLVMdev] RFC: Native Windows C++ exception handling
I am working on adding support for C++ exception handling when compiling for a native Windows target (that is a target with "MSVC" specified as the environment). Because of differences between how the native Windows runtime handles exceptions and the Itanium-based model used by current LLVM exception handling code, I believe this will require some extensions to the LLVM IR, though
2015 Jan 27
2
[LLVMdev] RFC: Native Windows C++ exception handling
Hi Reid,
Thanks for the input.
You wrote:
> The @_Z4testv.unwind.1 helper just calls ~Inner(), but not ~Outer.
That’s actually intentional. The thing to keep in mind is that all of the landing pads are going to be effectively removed by the time the final object image is generated. They are just there to facilitate the table generation, and in the __CxxFrameHandler3 case they don’t mean
2006 Sep 27
0
umask and logging in openssh
I looked through the FAQ and archive and haven't seen an mention of
this. Has it been considered making the sftp logging patch maintain by
Michael Martinez at sftplogging.sourceforge.net a part of the main
stream sftp-server? Being able to configure the default umask for sftp
users who don't run a shell, and providing ftp level logging
functionality typically available in other ftp
2010 Apr 07
0
question about fold function
Dear all,
I'm trying to use the fold function as described here:
http://cran.r-project.org/doc/contrib/Fox-Companion/appendix-cox-regression.pdf
Page9
It does say that you can use this when you have more than one time varying
covariate: in the description of the argument cov it says:
"cov: A vector giving the column numbers of the time-dependent covariate in
data, or a list of
2012 Jan 11
0
[LLVMdev] landingpad instruction documentation is vague
Hi Yuri,
> I am new to the landingpad (which is relatively new too).
> Documentation http://llvm.org/docs/LangRef.html#i_landingpad leaves some
> questions open:
>
> 1. What happens when actual exception type isn't listed in catch or
> filter clauses? Does it still return the corresponding structure like if
> it was listed? Or behavior is undefined?
if it doesn't
2017 Oct 11
1
[PATCH v1 01/27] x86/crypto: Adapt assembly for PIE support
Change the assembly code to use only relative references of symbols for the
kernel to be PIE compatible.
Position Independent Executable (PIE) support will allow to extended the
KASLR randomization range below the -2G memory limit.
Signed-off-by: Thomas Garnier <thgarnie at google.com>
---
arch/x86/crypto/aes-x86_64-asm_64.S | 45 ++++++++-----
arch/x86/crypto/aesni-intel_asm.S
2017 Jul 25
0
[Questions] About small files performance
Dear all
Recently, i did some work to test small files performance for gnfsv3
transport. Following is my scenario.
#####environment#####
==2 cluster nodes(nodeA/nodeB)==
each is equipped with E5-2650*2, 128G memory and 10GB*2 netcard
nodeA: 10.254.3.77 10.128.3.77
nodeB: 10.254.3.78 10.128.3.78
==2 stress nodes(clientA/clientB)==
each is equipped with E5-2650*2, 128G memory and 10GB*2
2014 Oct 24
3
[LLVMdev] IndVar widening in IndVarSimplify causing performance regression on GPU programs
Hi,
I noticed a significant performance regression (up to 40%) on some internal
CUDA benchmarks (a reduced example presented below). The root cause of this
regression seems that IndVarSimpilfy widens induction variables assuming
arithmetics on wider integer types are as cheap as those on narrower ones.
However, this assumption is wrong at least for the NVPTX64 target.
Although the NVPTX64 target
2009 Nov 13
3
[LLVMdev] legalize dag problem
Hi
I am running into a legalize dag issue after custom lowering a
load. If someone can give me pointers that would be great. I am using
llvm 2.6
When custom lowering a load, the following code gets executed.
Tmp1 = TLI.LowerOperation(Tmp3, DAG);
if (Tmp1.getNode()) {
Tmp3 = LegalizeOp(Tmp1);
Tmp4 = LegalizeOp(Tmp1.getValue(1)); <----------------- what
2009 Nov 13
0
[LLVMdev] legalize dag problem
> My problem is that the second call asserts inside legalize ops at
> ResultVals[Op.getResNo()]; b'cos ResultVals has only 1 element and
> Op.resno is 0.
Looks like you lowered the load improperly. It should return 2 values:
the value loaded and a chain.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University