similar to: decreasing performance of for() loop

Displaying 20 results from an estimated 4000 matches similar to: "decreasing performance of for() loop"

2012 Mar 16
1
Segfault while calling fexact in C
Hi folks, I'm trying to call an R function (fisher.test) in my program for like a billion times! Though my program is in Python and I feel that using rpy2 to interface R to python doesn't give me satisfactory performance. So I looked into R code and found out that fisher.test is actually a wrapper around another function called fexact which is implemented in C. Using Cython I managed to
2005 Jun 08
1
How do I get a literal '%' in smb.conf
I have an AIX 5.2 system running samba 2.2.0 I have a directory /FIX010/%prt that I want to share. There is a symlink, /FIX010/pq to it. The path statement in smb.conf points to /FIX010/pq, and this used to work, but with the current version of samba the directory is seen as empty, and logging at level 3 shows an access denied error. I have tried 'path = /FIX010/%%prt' and 'path =
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
Hi, I have a IR file generated by Clang: ; ModuleID = 'test_load_lib.c' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f80:128:128-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32-S32" target triple = "i686-pc-mingw32" declare i32 @a_outside_func(i32) define i32 @test_func() { entry: %call = call i32
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
Hello I quite thank you for your advice,but I have to tell that it made no difference too calling "LLVMAddGlobalMapping(ee,LLVMGetNamedFunction(m,"_a_outside_func"),(void*)(&a_outside_func));". 2014-04-04 16:10 GMT+08:00 Anton Korobeynikov <anton at korobeynikov.info>: > Hello > > While there is a symbol in the object file, there is nothing like this >
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
oh,I'm sorry to make such a stupid mistake...But I still have to tell the correct one still didnt make difference...so weird 2014-04-04 16:30 GMT+08:00 Anton Korobeynikov <anton at korobeynikov.info>: > Are you sure, that LLVMGetNamedFunction(m,"_a_outside_func") does not > return NULL? I believe it should be > LLVMGetNamedFunction(m,"a_outside_func") >
2007 Nov 28
1
Order observations in a dataframe
Dear All, Suppose I have the following dataframe: country;weight;group bul;10;1 cze;12;1 grc;12;1 hun;12;1 prt;12;1 rom14;1 fra;29;2 ita;29;2 gbr;29;2 aut;10;3 bel;12;3 The "group" variable denotes the id-number of a group of countries. How can I re-label the groups in the descending order of their cumulative "weight", which wound be: country;weight;group fra;29;1 ita;29;1
2011 Nov 13
2
Running totals
I have a table which looks like this:   ACC        BAL 1 hal -171245.33 2 opn  -50487.63 3 pga  213440.38 4 prt       0.18 5 rbs    8292.54 How do I create a column which shows the running totals of the BAL columns? [[alternative HTML version deleted]]
2008 Aug 24
3
password issue
hi everyone I am new to dovecot and I am having a little trouble I am getting this error in my mail.log I have google it and can't find a response, Aug 25 08:14:24 mta dovecot: auth-worker(default): mysql: Connected to 127.0.0.1 (postfix) Aug 25 08:14:24 mta dovecot: auth-worker(default): sql(sal at prt.com,127.0.0.1): Password query failed: Table 'postfix.password'
2012 Mar 31
2
lm no calcula un coeficiente
Hola, quiero hacer una regresión lineal lm(y ~ x * grupo, data =datos) y: numérica, x: numérica, grupo: factor con dos niveles (1 y 2) pero no calcula el coeficiente de x:grupo2 a cuenta de una singularidad Coefficients: (1 not defined because of singularities) Estimate Std. Error t value Pr(>|t|) (Intercept) -1.283e+06 2.276e+04 -56.359 < 2e-16 *** x
2014 May 23
1
Samba / Office 2007/2010
Hi all, currently we have troubles with the constellation of Office 2007 / 2010 and samba 3.6.6 on Debian 7.5. I can open a Excel file only one time without a write protection. The File is protected on the second try. I can move and copy the file wihtout any Problems. If I move such a Excel File I can open it again for only one time without a write Protection. I already reseted and checked
2014 May 05
1
samba 3.6.6 office 2010, write protection on files
hey, I'm using samba version 3.6.6 on debian wheezy and windows 7 clients with office 2010, on my samba share I've the following settings: [cad] comment = CAD path = /mnt/samba-daten/work/webdav/cad writable = yes valid users = root, @cad, @fg-domuser admin users = abc, def, ghi create mask = 0770 force create mode = 0770 directory mask = 0770 force directory mode = 0770 veto
2009 Apr 16
1
NULL pointer dereference at __switch_to() ( __unlazy_fpu ) with lguest PAE patch
Hi, For some days I have been looking for the bug that causes an easily reproducible oops in the guest when I apply my PAE support _draft_ patch (appended at the end of this mail) to lguest. This is the oops: Setting kernel variables...done. Will now mount local filesystems:. Will now activate swapfile swap:done. Cleaning /tmp... [ 84.749676] BUG: unable to handle kernel NULL pointer
2009 Apr 16
1
NULL pointer dereference at __switch_to() ( __unlazy_fpu ) with lguest PAE patch
Hi, For some days I have been looking for the bug that causes an easily reproducible oops in the guest when I apply my PAE support _draft_ patch (appended at the end of this mail) to lguest. This is the oops: Setting kernel variables...done. Will now mount local filesystems:. Will now activate swapfile swap:done. Cleaning /tmp... [ 84.749676] BUG: unable to handle kernel NULL pointer
2008 Nov 06
3
Samba and Solidworks (cat and dog)?
Hi all, We've been using samba for a couple of years now and it always running well. But last week we decided to shut down our windows server and move all solidworks file into the samba server. Since then we can't save project created by solidworks with error code shown below Access to \\sambaserver\solid-files\~$project1.SLDPRT was denied. The fact is that ~$*.SLDPRT was created on
2002 Mar 05
3
reading 2-byte integers using readBin and connections
Hi folks: This may be a stupid question, but I cannot seem to find a way to tell readBin that I want to read 2-byte integers from the connection. The input file is 150,720 bytes long containing 75,360 short (2-byte) integers. But specifying "integer" or "int" for what in readBin only returns me a vector of length 37680, leading me to believe that sizeof(integer) or
2008 Nov 13
1
how to check if device mode is set on a queue
Hi, We're running samba-3.0.28a w/ cups-1.3.7 on debian etch to serve point and print to windows clients. http://us6.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#prt-modeset How do I check if a queue had the device mode set or not? thanks, Ryan
2012 Apr 22
10
Assignment problems
The text below is a part of, some work I have to do, which is due in 2 days and I am strung up with a lot of other stuff, so I was hoping someone would take 5 mins and help me ?? Here is a part of my data.frame: year country1 country2 contig comlang pop1 gdp1 pop2 gdp2 rta dist avgflow 1 1992 AUS AUT 0 0 17.4950008 321708.281
2007 May 14
5
[PATCH 1/6] lguest: host code tidyups
Christoph Hellwig said runs sparse: 1) page_tables.c unnecessary initialization 2) Change prototype of run_lguest and do cast in caller instead (when we add __user to cast, it runs over another line). Al Viro pointed out the ugly cast in push_lguest_stack(): 3) Stick with unsigned long for arg, removes 4 casts in total. Most importantly, I now realize that Christoph's incorrect ranting
2007 May 14
5
[PATCH 1/6] lguest: host code tidyups
Christoph Hellwig said runs sparse: 1) page_tables.c unnecessary initialization 2) Change prototype of run_lguest and do cast in caller instead (when we add __user to cast, it runs over another line). Al Viro pointed out the ugly cast in push_lguest_stack(): 3) Stick with unsigned long for arg, removes 4 casts in total. Most importantly, I now realize that Christoph's incorrect ranting
2012 Feb 10
2
naiveBayes: slow predict, weird results
I did this: nb <- naiveBayes(users, platform) pl <- predict(nb,users) nrow(users) ==> 314781 ncol(users) ==> 109 1. naiveBayes() was quite fast (~20 seconds), while predict() was slow (tens of minutes). why? 2. the predict results were completely off the mark (quite the opposite of the expected overfitting). suffice it to show the tables: pl: android blackberry ipad