Data dodania Pytanie
2017-01-11 18:01 SQL Server performance: 50 columns vs single binary/varbinary »
Is it possible to improve SQL Server 2008 R2 (and newer) insert performance by replacing (say) 50 float columns with a single binary(n) (n being 50 x ...
(2) odpowiedzi
2017-01-11 16:01 Why is Collections.counter so slow? »
I'm trying to solve a Rosalind basic problem of counting nucleotides in a given sequence, and returning the results in a list. (For those ones not fam...
(2) odpowiedzi
2017-01-11 12:01 Concatenation of every row combination of two numpy arrays »
Given two arrays (A and B) of different shapes, I've like to produce an array containing the concatenation of every row from A with every row from B. ...
(2) odpowiedzi
2017-01-10 23:01 Merged two dataframe columns with lists in order of lists »
I'm trying to merge/concatenate two columns where both have related, but separate text data delimited by "|" in addition to replacing certain names wi...
(3) odpowiedzi
2017-01-10 23:01 Multiple matrix multiplication »
In numpy, I have an array of N 3x3 matrices. This would be an example of how I'm storing them (I'm abstracting away the contents): N = 10 matrices = ...
(1) odpowiedzi
2017-01-10 20:01 IF vs IIF and performance difference? »
I was wondering what is the difference between the IF statement vs the IIF() function in Tableau. And then I found this page, which explained the syn...
(1) odpowiedzi
2017-01-09 18:01 Why is Spark performing worse when using Kryo serialization? »
I enabled Kryo serialization for my Spark job, enabled the setting to require registration, and ensured all my types were registered. val conf = new ...
(0) odpowiedzi
2017-01-09 17:01 Oracle SQL Index DATE vs Index TRUNC(DATE) »
I have a Table named DEXTRACTO and I need to consult a period of time based on column F_EXTRACTO (witch is DATE format) with a BETWEEN DATE1 AND DATE2...
(2) odpowiedzi
2017-01-09 16:01 Fastest way to determine value based on boolean c++ »
If you have a boolean b and an int i, which one of the two examples is better? int x = i-1; if(!b)x--; or int x; if(b)x = i-1;else x = i-2; In b...
(2) odpowiedzi
2017-01-08 23:01 Is LIBGDX Slower in python than Java »
I've been developing games in Python & Pygame for a while now, Though one thing that's been in mind is my dislike to pygame's performance and lack...
(1) odpowiedzi
2017-01-08 22:01 Efficient async filter »
I have a computationally heavy section of code which performs filtering of a data-set by DOM-manipulations. I made it async in order to ensure accepta...
(1) odpowiedzi
2017-01-08 14:01 Why node.js is much slower than Google Chrome? »
I've got simple code, that creates a chunk with 16*16*256 boxes of 10 elements array and a bool variable. Method tick increases array elements and cha...
(1) odpowiedzi
2017-01-08 02:01 SQLite insertions slow to a crawl over time »
I'm using the program below to insert values from very large .csv files (~2.5 million lines) into an SQLite DB. It starts very fast, but begins to slo...
(1) odpowiedzi
2017-01-08 01:01 Programming Chess in Functional programming »
A year ago I programmed a chess AI using the Alphabeta prunning algorithm. This was relatively straight forward to do in c++. One of the main issues I...
(2) odpowiedzi
2017-01-07 21:01 Speed up Pandas cummin/cummax »
Pandas cummin and cummax functions seem to be really slow for my use case with many groups. How can I speed them up? Update import pandas as pd impo...
(2) odpowiedzi
2017-01-07 10:01 How does python optimize conditional list comprehensions »
I read about List comprehension without [ ] in Python so now I know that ''.join([str(x) for x in mylist]) is faster than ''.join(str(x) for x in ...
(1) odpowiedzi
2017-01-07 00:01 Why is writing to a buffer filled with 42 way faster than writing to a buffer of zeros? »
I would expect writes to a char * buffer to take the same time regardless of the existing contents of the memory1. Wouldn't you? However, while narro...
(1) odpowiedzi
2017-01-06 23:01 Python: Find largest array index along a specific dimension which is greater than a threshold »
Lets say I have a 4-D numpy array (ex: np.rand((x,y,z,t))) of data with dimensions corresponding to X,Y,Z, and time. For each X and Y point, and at e...
(2) odpowiedzi
2017-01-06 09:01 Haskell: Data.Text vs. Data.Text.Lazy Performance »
for training i wrote a short Haskell program as a replacement for a Perl script. The program reads a log file which contains multi-line messages and s...
(2) odpowiedzi
2017-01-06 07:01 Ways to evaluate a programming technique to solve an issue? Ex: GameObject visibility »
I am trying to figure out how to evaluate which technique will be the best for a given series of problems. Here is an example: I have "Boxes" which ...
(1) odpowiedzi
2017-01-05 18:01 Oscillating processing speed in a python script using pysam.TabixFile to annotate reads »
The initial question I'm writing a bioinformatics script in python (3.5) that parses a large (sorted and indexed) bam file representing sequencing re...
(0) odpowiedzi
2017-01-05 17:01 Is NetLogo too slow for big simulations? How can I speed up a NetLogo model? »
Is NetLogo a good platform for big models (>10,000s of patches, turtles)? How can I speed up a model that runs very slowly? ...
(1) odpowiedzi
2017-01-05 07:01 using heap helps boost performance for string rearrange »
I'm working on the problem below and have posted my code. My question is, my current implementation is using a sort in Python - sorted(sorted_freq, re...
(1) odpowiedzi
2017-01-04 19:01 Fast bitwise operations on a long »
I know I can write the following method to calculate the set bit indexes of a long : private static List<Integer> bitPositions(long number) { ...
(3) odpowiedzi
2017-01-04 14:01 Json query vs SQL query using JSON in Oracle 12c (Performance) »
I am using oracle 12c and Sql Developer with json For this example I have the follow JSON: { "id": "12", "name": "zhelon" } ...
(1) odpowiedzi
2017-01-04 01:01 SQL Using a String Function on Indexed Column Performance »
I have a general question regarding using String Functions and their impact on performance. I have a table with a non-clustered index on column ID. T...
(1) odpowiedzi
2017-01-03 23:01 Does touching the DOM trigger a reflow and repaint even if nothing changes? »
I am working on a small JavaScript template engine, and I have two possible approaches for dealing with updates to the DOM when the model changes: C...
(1) odpowiedzi
2017-01-03 13:01 Whats faster when using jquery selectors .classname or div.classname »
Is it faster to use $(".classname"). or add the tag to look for as well $("div.classname") I think its the classname as i'm sure jquery will jus...
(1) odpowiedzi
2017-01-03 10:01 Where to run complex algorithms? Sever side or Client side? »
I am trying to develop an social networking android application which contains huge database of users. I am very new to Android App development and tr...
(6) odpowiedzi
2017-01-02 17:01 Cassandra read/write bandwidth »
I'm using Cassandra docker latest. I'm running multiple containers, each run a stand alone Cassandra instance. Each instance has a local nvme SSD to s...
(1) odpowiedzi
2017-01-02 14:01 IIS 8.5 single worker process vs Web Garden performance »
I have simple ASP.NET application that just resizes images with ImageResizer and does nothing else. For testing purposes I disabled disk caching, so i...
(1) odpowiedzi
2017-01-02 04:01 Faster way to convert a number from range to another range »
According to this SO question, it is possible to convert a number range to another (linear conversion) by calculating: NewValue = (((OldValue - OldMi...
(1) odpowiedzi
2017-01-01 20:01 How to optimize data generation for numpy call »
I'd like to know how to make the following code shorter and/or more efficient. Could I (or should I) get rid of the for loop by using a functional me...
(2) odpowiedzi
2017-01-01 20:01 Golang: why using goroutines to parallelize calls ends up being slower? »
I have two versions of merge sort implementation. The first is a "normal" version and the second uses goroutines that parallelize the work being done ...
(2) odpowiedzi
2017-01-01 15:01 Are compiler optimization solving thread safety issues? »
I'm writing a C++ multi-threaded code. When testing the overhead of different mutex lock I found that the thread unsafe code seem to yield the corre...
(1) odpowiedzi