Data dodania Pytanie
2017-11-30 12:11 Speed up function for creating a list of triangles from mesh in R »
I wrote a function mesh2listri() in R that takes a kxm matrix and a tringulation structure matrix and returns a list where each element is a 3xm matri...
(3) odpowiedzi
2017-11-30 10:11 Slow SQL Query on MATCH sorting by Relevance »
I have the following Query SELECT product.AID, product.ART_ID, product.EAN, productdetails.DESCRIPTION_SHORT, MAX( (1000...
(0) odpowiedzi
2017-11-30 01:11 Fastest way to compare two strings with dynamic white space? »
I have two strings bigstring and smallstring, and each string is a paragraph of words. However in between each word is a bunch of whitespace (\s in re...
(3) odpowiedzi
2017-11-29 10:11 const vs non-const variable with no change in value once assign »
In C++, if value of a variable never gets changed once assigned in whole program VS If making that variable as const , In which case executable code i...
(2) odpowiedzi
2017-11-29 09:11 Find sub-groups associate to a value and count consecutives sub-groups withing each ID »
I am asking your help to design a very efficient solution to rapidly go through a 14kk rows table. Basically, the problem consists of finding for ...
(2) odpowiedzi
2017-11-29 06:11 Can Laravel 5 handle 1000 concurrent users without lagging badly? »
I wanted to know that if 1000 users are concurrently using a website built with laravel 5 and also querying database regularly then how does laravel 5...
(0) odpowiedzi
2017-11-29 00:11 Does Rust's array bounds checking affect performance? »
I'm coming from C and I wonder whether Rust's bounds checking affects performance. It probably needs some additional assembly instructions for every a...
(1) odpowiedzi
2017-11-28 15:11 What is the best way keep your app updated with server? »
My app consists of login based user system in which the user will receive his tasks. User's list of task need to be regularly synced with the server s...
(2) odpowiedzi
2017-11-28 11:11 C# Signed & Unsigned Integral to Big Endian Byte Array, and vice versa using Bitwise way with "best" performance »
2nd edit: I think my original test script has an issue, the 10000000 times loop is, in fact, dealing with the same memory location of an array, which...
(2) odpowiedzi
2017-11-28 10:11 Tensorflow: Why my code is running slower and slower? »
I am new to tensorflow. The following code can run successfully, without any error. In the first 10 lines of output, the computation is fast, and the ...
(2) odpowiedzi
2017-11-27 15:11 Is there a difference between putting conditionals inside or outside a LINQ query? »
When building a LINQ query for database access, is putting query conditionals inside the query or outside impact performance? Expression<Func<M...
(1) odpowiedzi
2017-11-27 14:11 How to reduce watchers in AngularJS 1.3 - performance issue »
An internal web software that is being used by a warehouse. It contains a table of orders with items that need to be scanned and prepared for delivery...
(0) odpowiedzi
2017-11-27 12:11 Calling Runtime.gc() in onLowMemory method »
Should we use Runtime.gc() or System.gc() for clearing memory (manual garbage collection) in production code in onLowMemory() method in Application cl...
(3) odpowiedzi
2017-11-27 10:11 How to maximise performance for table row addition of 50K+ rows using Excel JavaScript API office Add-IN »
I m trying to add large number of rows to table. My Project has requirement for large table addition. Please let me know if there is a better alterna...
(2) odpowiedzi
2017-11-26 18:11 Why no speed gains when scaling images with Parallel.For? »
I am unable to get any speed gains when scaling several Bitmap in parallel. Please review the following code that demonstrate the issue: class Progr...
(0) odpowiedzi
2017-11-26 18:11 Combining information from multiple lists »
I have multiple string[] that are defined like this: var allEntities = new[] { "a", "b", "c", "d", "e", "f", "g", "h", "i" } var entitiesWithPriority...
(4) odpowiedzi
2017-11-26 17:11 Why is pandas.dataframe.groupby faster when assigned to variable first? A: iPython %timeit misuse »
Can anyone please help understand why the following two ways of doing, what i thought was, otherwise the same thing with the pandas.dataframe groupby ...
(1) odpowiedzi
2017-11-25 18:11 find pairs of rows in numpy array that differ only by sign »
I need to find the row indices of all rows in a numpy array that differ only by sign. For example if I have the array: >>> A array([[ 0, 1...
(6) odpowiedzi
2017-11-25 15:11 Is data allocated on the heap slower to access than data allocated on the stack? »
I've heard conflicting opinions on that matter. Some say that accessing data allocated on the heap (ie std::vector or dynamic arrays allocated throug...
(2) odpowiedzi
2017-11-25 00:11 Is putting integers into a vector, and then sorting faster, or putting integers into a set »
Is pushing integers into a vector, and then sorting the entire vector faster or slower than inserting the integers into a set, which sorts as you ente...
(2) odpowiedzi
2017-11-24 18:11 SSE2 8x8 byte-matrix transpose code twice as slow on Haswell+ then on ivy bridge »
I've code with a lot of punpckl, pextrd and pinsrd that rotates a 8x8 byte matrix as part of a larger routine that rotates a B/W image with looptiling...
(2) odpowiedzi
2017-11-24 16:11 Efficient way to create a symmetric matrix counting how often two strings belong to the same list »
Suppose I have a dataframe that looks like the following: df = pd.DataFrame(columns = ["ID", "GROUP"]) df["ID"] = ["a1", "a2", "a3", "a4", "a5", "a6"...
(3) odpowiedzi
2017-11-24 14:11 Reactjs: update specific row »
I would like suggestions on the most efficient way to implement a price / depth ladder GUI in Reactjs. Each ladder represents a single stock and eac...
(1) odpowiedzi
2017-11-23 17:11 Linq to merge 2 lists selecting colum »
I have 2 lists of string and I am merging them but selecting a specific column. I managed to get it, but I am sure there is a better way: public List...
(4) odpowiedzi
2017-11-23 10:11 Should try-catch be avoided for known cases »
I have a case which I know will happen but very scarce. For example in every 10 thousand times the code runs, this might happen once. I can check for...
(2) odpowiedzi
2017-11-23 10:11 #include guard before or after comment block? »
I have somewhere read (sorry can't find the link anymore) that on the first line of a header should always be the #include guard, because compilers ca...
(1) odpowiedzi
2017-11-22 18:11 How to efficiently set subtract a join table in PostgreSQL? »
I have the following tables: work_units - self explanatory workers - self explanatory skills - every work unit requires a number of skills if you wa...
(7) odpowiedzi
2017-11-22 16:11 How to purge old content in firebase realtime database »
I am using Firebase realtime database and overtime there is a lot of stale data in it and I have written a script to delete the stale content. My Nod...
(1) odpowiedzi
2017-11-22 15:11 Spring Boot freeze for ~ 4 seconds »
I'm using Spring Boot to run a restful webapp. It should should handle 1000 request per second however I see that every ~100 requests the app takes ab...
(1) odpowiedzi
2017-11-21 21:11 Java out of heap space error if I use 'or' in sql instead of 'in' »
I am using spring and hibernate in my project and few day ago I found that Dev environment has crashed due to Java out of heap space exception. After ...
(0) odpowiedzi
2017-11-21 12:11 R: speeding up integrate function »
I need to speed up a function. Especially the part of the integrals. Like you can see I have to integrate from 0 to Inf for different parameters every...
(0) odpowiedzi
2017-11-21 10:11 Does the order of if-condtions impacts the performance? »
Does the order of 'if-conditions' impacts the performance? Under the assumption the order matters this code if (slowMethod() && fastMethod()...
(4) odpowiedzi
2017-11-21 09:11 Pros & cons to using constants in place of css class names for razor views »
Background I work on an international team of developers. I'm constantly finding issues with misspelled class names causing issues with formatting. ...
(0) odpowiedzi
2017-11-20 13:11 How to speed up nested JSON query in PostgreSQL? »
For our development of a flight retail engine we store orders as JSON documents in a PostgreSQL database. The order table is defined as: CREATE TABL...
(1) odpowiedzi
2017-11-20 12:11 Optimize my Azure SQL PaaS Table and/or query to increase performance »
I am designing a table with a very specialized use pattern. The table will be logged to continously with limited traffic - ~25 records per second, and...
(1) odpowiedzi