Displaying 5 results from an estimated 5 matches for "taralx".
Did you mean:
taral
2011 Dec 23
1
Help transforming a dist
I'd like to convert a dist into a table/matrix/thingy of the form:
A B value
A C value
B C value
(assuming the dist was over 3 names).
Is there a way to do this without using a for loop?
--
Taral <taralx at gmail.com>
"Please let me know if there's any further trouble I can give you."
? ? -- Unknown
2011 Dec 26
1
Finding all triangles in a graph
...apply(seq(nrow(adj)), function(x) cbind(x,
index(adj[x,]))))
triangles = do.call(rbind, apply(pairs, 1, function(x) cbind(x,
index(adj[x[1],] & adj[x[2],]))))
I'm absolutely certain I've gone down the wrong path here. O great R
gurus, your guidance would be most welcome.
--
Taral <taralx at gmail.com>
"Please let me know if there's any further trouble I can give you."
? ? -- Unknown
2011 Jul 26
3
[LLVMdev] Spills and values present in both registers & stack
...that rbx,r12,r13,r14,r15,rbp are all dead after the
pushes. But the spill code still insists on using rax to load the
spilled values, forcing them to be reloaded later. Is the register
allocator (pbqp, I think) capable of having values in registers and on
the stack at the same time?
--
Taral <taralx at gmail.com>
"Please let me know if there's any further trouble I can give you."
-- Unknown
2011 Jul 28
0
[LLVMdev] Spills and values present in both registers & stack
On Tue, Jul 26, 2011 at 11:35 AM, Taral <taralx at gmail.com> wrote:
>
> One piece of code I'm writing has a lot of intermediates, and I'm
> trying to optimize down the number of memory accesses. Here's a
> snippet from the start of the function, where I think there is some
> low-hanging fruit:
>
> # BB#0:
>...
2011 Aug 02
0
[LLVMdev] clang: Manual unfolding doesn't match automatic unfolding
...If you change the loop to the unrolled version:
#define FOLD1(i) r->l[i] = ((uint64_t) t[i] & mask) + (i == 0 ? 19 :
1) * (uint64_t)(t[(i + 4) % 5] >> 51)
FOLD1(0); FOLD1(1); FOLD1(2); FOLD1(3); FOLD1(4);
you get different code, which is very sad-making.
Any ideas?
--
Taral <taralx at gmail.com>
"Please let me know if there's any further trouble I can give you."
-- Unknown