How do delegates improve the performance of an application?
I am new to the delegates concept. I've learnt it is similar to pointers in C++. In its advantages, it mentioned effective use of delegates improves the performance.
Considering it's a pointer. How does it improve the performance of an application?
If anybody could explain this with a simple example, that would be helpful.
I have written an app which can talk to server via background service to send the request and get the response back. If I perform some operation (e.g send request and get response back) around 20-30 t
How to improve the performance of android apps without the ndk? How can I write CPU intense application without knowing c++?
I have an open source iOS application that uses custom OpenGL ES 2.0 shaders to display 3-D representations of molecular structures. It does this by using procedurally generated sphere and cylinder im
I have built an application that generates a large XML file using Linq-to-Entities and XElement. It takes a whole core of our 2GHz server for about half an hour and uses ~1GB of memory. I'm doing the
I have built classified website using Yii php framework. Now it is getting a lot of traffic. So I want to using caching to optimize the performance of the website. There are two controllers I want to
i got a table with half a million rows. the primary key is the guid column . I found the query select * from T where id ='xxxx' is very slow . what should I do to improve performance ?
Background: I am using SQLite database in my flex application. Size of the database is 4 MB and have 5 tables which are table 1 have 2500 records table 2 have 8700 records table 3 have 3000 records t
I use the JAXBContext.newInstance operation in my JBoss based web application. This operation, as I understand, is very heavyweight. I only require two unique instances of the Marshaller class. My ini
i am trying to apply a flip transition from my current view controller to the next view controller. its working but its has noticeable lag(very noticeable). so, i would like to ask, do you guys have a
I have a query with multiple joins in it. When I execute the query it takes too long. Can you please suggest me how to improve this query? ALTER View [dbo].[customReport] As SELECT DISTINCT ViewUserI
I have the problem that my view controller class has too many delegates and starts to get big. I want to write the delegates in separate classes to keep the view controller class small. For delegates
I have questions about real application performance running on a cluster vs cluster peak performance. Let's say one HPC cluster report that it has peak performance of 1 Petaflops. How is this calcula
I have Microsoft Word template that I automated filling it's fields from my application, and when the user requests to print I open this template. But creating the Word application every time a user r
I'm looking for tips on how to improve the database performance in the following situation. As a sample application, I wrote a fairly simple app today that uses the Twitter streaming API to search for
i'm working with big xml file and need to download and parse him . inside 65k objects, but parsing is more then minute. I cannot understand how to optimize loading/parsing, please help me with advice.
We have Oracle 11G R2 on production environment. I like to improve performance of 1 query select .... from FORMX where (INF_TYP =?) AND (STATUS IN (?, ?, ?, ?, ?, ?)) AND ((VAL_DAT>=? OR VAL_DAT IS
How to improve performance of jsf myfaces based application ? Some tips that I have collected so far Trinidad Set following init parameters to false in web.xml org.apache.myfaces.trinidad.DEBUG_JAVA
I have an android application that communicates with WebService. My application sends request to Web Service which is written in php. The php side, just processes the request and echo out result in JS
This function takes around 1.2 seconds to execute. I am unable to understand why? Is it because of the inner joins? If yes, then how can i improve the execution speed? I am using Microsoft Enterprise
Apologies for what may very well be a stupid question. I'm just intrigued as to (a) will indexing improve performance (b) how will it improve performance and (c) why will it improve performance? Also,
Is there any reason use standart HTML controls (input type=text,input type=checkbox) instead of asp.net controls ( asp:TextBox, asp:CheckBox) to improve performance?
I have been asked to help with performance issue of a SQL server installation. I am not a SQL Server expert, but I decided to take a look. We are using a closed source application that appears to work
I have 12 views which I rotate almost similar to the icons in the home screen when going into homescreen-customization-mode by touching an icon for a few seconds. I use a 3D transformation code to do
Memcache reports a hit ratio in gae to 32%. I don't know how good that is. Should I try and improve or how do I measure whether this hit ratio is ok? I suppose now that I see that memcache actually do
I am trying to develop a Recursive Extractor. The problem is , it is Recursing Too Much (Evertime it found an archive type) and taking a performance hit. So how can i improve below code? My Idea 1: Ge
How to write Performance Test for .Net application? Does nUnit or any other Testing framework provides framework for this? Edit: I have to measure performance of WCF Service.
I am just curious about the performance of CGridView in Yii Framework. I built a simple app with Yii. on a Model's admin page, simply listing all records, with pagination (30/page) , and custom sortin
Setup: Neo4j - 1.9.3 ~7,000 nodes ~1.8 million relationships I have the following cypher query that I would like to improve the performance on: START a=node(2) MATCH (a)-[:knowledge]-(x)-[:depends]-
What are some things I can do to improve query performance of an oracle query without creating indexes? Here is the query I'm trying to run faster: SELECT c.ClaimNumber, a.ItemDate, c.DTN, b.FilePath
I have a WPF Window which takes a lot of time to create and show. The user should be able to open one ore more of this windows. Now, I am searching a way to improve the performance. One Idea is to cre
Should we use Generic Collection to improve safety and performance?
In this mpi programme only works slave nodes. How to modify it to work master also. Because working of the master also improve the performance of the system. int A,B,C, slaveid,recvid,root, rank,size;
I have heard that prepared statements with SQLite should improve performance. I wrote some code to test that, and did not see any difference in performance with using them. So, I thought maybe my code
I heard an example at work of using serialization to serialise some values for a webpart (which come from class properties), as this improves performance (than I assume getting values/etting values fr
How do I improve the performance of the following situation? I have an application that accepts multiple connections across a network. The application is written in C# and accepts Socket connections.
Do ramdisks really improve vs2010 performance (general and build times)? If so, what are all the steps I have to do to get the maximum benefit of it? Can it also help resharper? Thanks, André Carlucci
We log values and we only log them once in a table. When we add values to the table we have to do a look up everytime to see if it needs to insert the value or just grab the id. We have an index on th
I am using parallel loop for Improving performance in loading my charts which I have called in Parallel loop. Load Chart method has large code and Which I want to execute in parallel but When I was e
I'm creating a WiX-based installer for my .NET-based website. Part of this website involves the performance counters which I would like to create using the installer (counters require elevated permiss
What are some real world places that call for delegates? I'm curious what situations or patterns are present where this method is the best solution. No code required.
I have two handlers for a mouseover function, I would like to know what the difference is and how to use each one in the most efficient way possible. Code block one: $('.test div').mouseover(function(
Introduction I have a (mostly) single-page application built with BackboneJS and a Rails backend. Because most of the interaction happens on one page of the webapp, when the user first visits the page
I am building a spreadsheet editor with jQuery and I am encountering performance issues with big tables. The table holds many data sets and when clicked on one, icons are added to the first cell of th
Do you have any idea how to improve the performance by reading CSV file from a zip file? Firstly it open the zip file, then put the data into a memory and then read it by fgetcsv $zip = new ZipArchive
Hi I want to increase the performance of asp.net application when multiple user access my application about 5000 users. Can we do this
in Universal application it gives you iphone AppDelegate and ipad AppDelegate separately. Now, how do you put in the logic to determine which app delegate to use, how does it know which one to instant
In the book Effective Java by Joshua Bloch, there is a discussion on how a class can provide judiciously chosen protected methods as hooks into its internal workings. The author then cites the docum
I am writing a class which utilizes a USING statement to connect to the task scheduler on a server and does things; like enable/disable a task, start and stop etc. I want to improve code reuse, perh