Data dodania Pytanie
2017-02-18 22:02 Slow mysql query (using IN) »
I have a simple query: SELECT Description, Temp1, Temp2, SensorData.DateAndTime FROM SensorData INNER Join Sensors on Sensors.ChipId=SensorData...
(2) odpowiedzi
2017-02-18 20:02 DocumentDB - Quantify bounded execution in stored procedure »
I have a DocumentDB stored procedure that does insert or update (not replace but rather reads and update existing document). The stored procedure does...
(1) odpowiedzi
2017-02-18 11:02 Bash. The quickest and efficient array search »
I need to do an array search so many time in a bash process. I need to know what is the most quick and efficient way to do it. I know how to do it. Th...
(4) odpowiedzi
2017-02-17 14:02 Why direct memory 'array' is slower to clear than a usual Java array? »
I've set up a JMH benchmark to measure what would be faster Arrays.fill with null, System.arraycopy from a null array, zeroying a DirectByteBuffer or ...
(2) odpowiedzi
2017-02-17 11:02 Similar code (for exponentially weighted deviation) is slower in Haskell than in Python »
I implemented exponentially weighted moving average (ewma) in python3 and in Haskell (compiled). It takes about the same time. However when this funct...
(3) odpowiedzi
2017-02-17 10:02 Do I need to put top 1 when using SqlCommand.ExecuteScalar() »
I've analyzed the code of SqlCommand and see that it works fine (see CompleteExecuteScalar method). But I'm not sure should I use top 1 in the query. ...
(2) odpowiedzi
2017-02-16 21:02 Python - something faster than 2 nested for loops »
def fancymatching(fname1, fname2): #This function will do much smarter and fancy kinds of compares if (fname1 == fname2): return 1 els...
(2) odpowiedzi
2017-02-16 15:02 How to create big dynamic view in android? »
i have a big problem with creating and removing views in many times For example i searched in sqlite database and fetching 200 records, and i want cr...
(1) odpowiedzi
2017-02-16 07:02 Should nullable lambda arguments be replaced with transparent implementations? »
Say that a method has an optional Action or Func<T, T> argument that will usually be the default value of null. This usually-null lambda expres...
(2) odpowiedzi
2017-02-15 22:02 Are member-initialization lists really more efficient? »
I agree with the consensus that it's generally best to initialise C++ data members in a member initialization list rather than the body of a construct...
(3) odpowiedzi
2017-02-15 15:02 Count number of occurrences of an array without overlap in another array »
I have a mxn matrix A, where m%t = n%t = 0, so that a smaller txt matrix B tiles the matrix without borders or overlaps. I want to check if A consists...
(2) odpowiedzi
2017-02-15 08:02 TreeSet vs Java 8 Streams performance »
Which way is the most efficient to process a distinct and sorted collection? 1. Enhanced loop with TreeSet Set<MyObj> ret = new TreeSet<&g...
(3) odpowiedzi
2017-02-14 18:02 Are there any performance issues when running Golang apps on elastic beanstalk? »
I'm trying to benchmark a simple 'hello world' HTTP server in go. I've made 2 tests: Using amazon ec2 - m3.medium instance Using amazon elastic bean...
(1) odpowiedzi
2017-02-14 14:02 cost of (address) indirection to the same address many times (used in iterator) »
If I use indirection a lot, but the target has the same address, will the cost of indirection become near-zero? Example :- class C{ public...
(0) odpowiedzi
2017-02-14 08:02 WordPress/WooCommerce (Backend) running too slow »
I have eCommernce Web Site running on WordPress v4.7.2 and WooCommerce. It was running good till last week but now Only the Backend is running too slo...
(0) odpowiedzi
2017-02-13 21:02 Increase the performance of storing a JSON stream to a local database on Android »
I am developing an application that (part of its functionality) is fetching a huge list of items from a server, in JSON format, and stores it in a loc...
(1) odpowiedzi
2017-02-13 21:02 How to avoid rerendering when using react redux forms? »
I am using "react-redux-form". But I noticed whole FORM which is little bit bigger is rerendered everytime I call dispatch(action...) or onChange(val...
(0) odpowiedzi
2017-02-13 11:02 #define efficiency in C »
I'm new to C and was wondering which is the more efficient or preferred way to program the following: Option A: #define flag true void Foo() { f...
(6) odpowiedzi
2017-02-12 23:02 Why is String concatenation faster than String.valueOf for converting an Integer to a String? »
I have a benchmark : @BenchmarkMode(Mode.Throughput) @Fork(1) @State(Scope.Thread) @Warmup(iterations = 10, time = 1, timeUnit = TimeUnit.SECONDS, b...
(1) odpowiedzi
2017-02-12 19:02 Increasing performance of Python function using Cython »
Aim I'm trying to speed up my Python program with Cython. The code I'm writing is an attempt at the Forward algorithm, used to recursively and effici...
(1) odpowiedzi
2017-02-12 09:02 Slow performance importing MS Access database into SQL Server »
I have a problem with importing items from an MS Access .mdb database file into SQL Server. I wrote a C# application in practice database that extrapo...
(2) odpowiedzi
2017-02-11 16:02 Proper Way to Key Data Warehouse Fact Table »
When keying a FACT table in a data warehouse, is it better best to use the primary key from the foreign table or the unique key or identifier used by ...
(1) odpowiedzi
2017-02-11 13:02 Ping WCF Data Service or WCF service »
I investigated a bad thing, suppose we have a data service and we want to call it in consumer side such as: Uri dataManURI = new Uri("http://localho...
(1) odpowiedzi
2017-02-11 01:02 How to efficiently get unique combinations of a list of objects »
I have a single list of objects that I want to make unique combinations from. The objects that I have are (CityObj); public string City_Name; public...
(2) odpowiedzi
2017-02-10 21:02 Given two strings, what is the fastest way to remove all positions at which they both match a given character? »
This is a speed question. I have two strings x and y of the same length. At certain positions (indices) they may have the same character (e.g., "A")....
(0) odpowiedzi
2017-02-10 10:02 Why is my uncorrelated sub-query so slow? »
I have a statement which takes 10 seconds to perform on 10k items in table X: Version 1 SELECT * FROM X WHERE pk = 77843 AND (a IS NULL OR a NO...
(2) odpowiedzi
2017-02-10 05:02 Google BigQuery Taking too Long, but small change »
One of the annoying features of BigQuery is its unpredictable behavior. The last such annoyance can be illustrated in this query SELECT COUNT(DISTI...
(0) odpowiedzi
2017-02-09 22:02 Simulating Data Efficiently with data.table »
I am trying to simuate a new dataset from two smaller datasets. It is important for me to maintain the marginal counts from these smaller datasets in ...
(0) odpowiedzi
2017-02-09 14:02 Improve performance of reading volatile memory »
My first question so I'll try to do my best: I have a function reading from some volatile memory which is updated by a DMA. The DMA is never operati...
(5) odpowiedzi
2017-02-09 12:02 Searching through an alias with filter is very slow in Elasticsearch »
I have an elasticsearch index, my_index, with millions of documents, with key my_uuid. On top of that index I have several filtered aliases of the fol...
(0) odpowiedzi
2017-02-08 16:02 Is there research on performance penalties for types/constraints in Perl 6? »
In contrast with Perl 5, Perl 6 introduced optional typing, as well as constraints, e.g.: # Perl 5 sub mySub { my $probability = $_[0]; # Do st...
(2) odpowiedzi
2017-02-08 15:02 What are jvm pre-allocated exceptions? »
I see references to pre-allocated JVM exceptions there: - http://www.oracle.com/technetwork/java/javase/relnotes-139183.html - http://dev.clojure.org/...
(2) odpowiedzi
2017-02-08 14:02 Is remove_if and then erase efficient on vector? »
Although there are tens of questions about remove_if + erase for vector. I couldn't find what is the performance of such action. When I write: m...
(3) odpowiedzi
2017-02-07 20:02 Numpy 2D array: change all values to the right of NaNs »
Situation I have a 2D Numpy array that contains some nan values. Simplified example: arr = np.array([[3, 5, np.nan, 2, 4], [9, 1, 3,...
(2) odpowiedzi
2017-02-07 18:02 Accurately testing Pypy vs CPython performance »
The Problem Description: I have this custom "checksum" function: NORMALIZER = 0x10000 def get_checksum(part1, part2, salt="trailing"): """Retu...
(0) odpowiedzi