Hi!
First of all I should mention that I'm aware of the fact that performance optimizations can be very project specific. I'm mostly not facing these special issues right now. I'm facing a bunch of performance issues with the JVM itself.
I wonder now:
which code-optimization make sense
from a compiler perspective: for
example to sup...
hi
im facing the challange of optimizing a database design by an automated mechanism.
the database will include tables which relates arbitrary data to an attribute
e.g. Table A contains all id's of persons who clicked the buy button, Table B contains all id's who have no chargeback, ....
so given are some very basic MainTables e.g. A,B...
I look after a site which by nature has to load quite a lot of images and content on the page. We have decreased the number of elements and graphical layout images as much as we can, so we are now looking at ways to increase the page load in the browser.
Does anyone know any code for lazy loading images that doesn't require a framework ...
Let us presume we have k sequences of fixed length p. Each sequence has double values in range 0 to 1.0. For simplicity let us also assume that the sequences are just arrays; in the real implementation, they will be list.
Now, the algorithm needs to find the smallest index the value of which represents a "major upset" in a given sequenc...
Hi. I have a program that I use as an alt-tab replacement. I wrote it in .NET, so it has a sizable memory footprint. Since I use it only occasionally, it tends to get paged. So when I call it up, it often takes a few seconds to display. This is very annoying. Is there a way to prevent it from being paged so that always comes up immediate...
I'm writing a game in which the player may manipulate a great many objects at one time. I would like the player to be able to select objects according to the distances between them.
Given the locations of all objects, a starting object, and a distance threshold, what is the fastest way to find the subset containing the starting object f...
I can get the compiler (msvc++ express) to convert "string" as a CustomString in a constructor, but not with a reference. Will it therefore not have the same chance of being optimized out with a pass-by-reference anyway, like passing by value with other types can, if the compiler thinks it can?
won't implicit convert using
new xmlNode...
I have a function when unit tested takes around 15 minutes to finish in debug mode. When I run the same tests in retail mode, it takes around 30 seconds. Is there anyway I can figure out what optimizations were done in the retail build?
...
How does an optimizing c++ compiler determine when a stack slot of a function(part of stack frame of a function) is no longer needed by that function, so it can reuse its memory? .
By stack slot I mean a part of stack frame of a function, not necessarily a whole stack frame of a function and an example to clarify the matter is, suppose w...
To optimize my site i have set up a static subdomain for content such as images, css and javascript. How do i stop the google analytics tracking cookie from being sent to my static subdomain, but still to both example.com and www.example.com?
Have already looked through some of the documentation with no luck
...
I have a series of medium-sized XML documents, which are mainly text with a few nodes representing macros to be expanded, e.g.:
<foo>Some text <macro>A1</macro> ... <macro>B2</macro> ...etc...</foo>
My goal is to replace each macro with the corresponding XML. Usually it's a single <img> tag with different attributes, but it could be s...
I have a large data structure that is using striping to reduce lock contention. Right now I am using system locks but 99.99% of the time, the lock is uncontested and futhermore, the amount of time holding the lock is quite miniscule. However, several distinct memory operations are performed while the lock is held. It has actually gott...
For example, in <ctype.h> there are functions like isalpha().
I want to know if writing an isalpha function on my own is faster than calling isalpha?
Thanks for all your instant replies! just want to make clearer to my question:
so even for the isalpha function? because you can simply pass a character and check if the character is b...
After a fair amount of research and some errors, I modified my code so that it creates a new DataContext each time the database is queried or data is inserted. And the database is queried frequently - for each of 250k transactions that are processed, the database is queried to obtain a customer id, department id, and category before the...
Hello,
i need to compress or optimize the html page to give better perfomance,, so please tell me what tool will be best for it,,,
...
do u know any techniques allowing to speed up 2d primitives such as lines and circles?
i develop application that allow to edit images containing such primitives. they can be moved and selected in the same way as windows desktop icons are (including group selection by rectangle). also objects that cursor is on are highlighted.
it seems...
Hi,
so I am transferring an old website to a new server, and attempting cleanup in the process.
What I am looking for is some script or free software that can:
a) show the paths through the website (following hyperlinks, etc), so I can see what links to what
and b) some software than can see which html files are orphans (not linked t...
I'm trying to make a bitmap editor app for the iphone which would be similar to Brushes or Layers or a cut-down version of Photoshop. I'd like to be able to support 1000x1000 resolution images with about 4 layers if possible.
I'm trying to design my undo/redo system before I write too much code and I'm having real issues coming up with ...
Hey all,
I'm trying to get Time Profiler to play nice with me. I am able to set it up with my iPhone and capture data. However, Instruments doesn't really show much information about where the virtual bottlenecks exist in my code. If I click on the memory addresses to show more detail Instruments tells me that they're unavailable.
How ...
There's so much hype about ASP.NET MVC these days, but the truth is that ASP.NET webforms is not going anywhere for some time. Is there any way for current developers to optimize ASP.NET webforms to perform as fast as ASP.NET MVC?
I have noticed a significant difference in speed between ASP.NET MVC and ASP.NET webforms. MVC is a lot sna...