faster

How to type faster

I've typed around 75wpm for the last few years but I've always wondered how people type +100wpm. I've searched but I primarily find typing tutors that teach you to type.. not teach you to type faster. So far the only tip I've come across is to learn dvorak. Are there exercises or tips to help break through the 75wpm wall? ...

Is there any codec to get thumbnail directly from a Image file?

I used gdi+'s Image class to decode image files. But I found if I open a Image, then use GetThumbnail()Method, It is really slow, especially for high resolution images. Is there any method for get a thumbnail faster? Or is there any lib designed especially for fastly retriving thumbnails for most image formats. Many thanks! Thanks for...

Automatically update scoreboard without refresh page

when i update score from my admin i want to update score in client autometically without refresh can any one help with script and technices i see such auto refresh http://stackoverflow.com/ ANSWERS , VIEWS autometically updating ...

Postgres: could an index-organized tables paved way for faster SELECT COUNT(*) FROM table

I find it cumbersome to create a trigger just to get the current total rows of the table without doing COUNT(*) FROM table. I'm thinking if their planned index-organized tables for Postgres 8.5 could make it possible? ...

StretchDIBits seems slow, Is there any API faster?

I want to draw a dib on to a HDC, the same size. I am using : des and src are of the same size. ::StretchDIBits(hdc, des.left,des.top,des.right - des.left,des.bottom - des.top, src.left, GetHeight() - src.bottom, src.right - src.left,src.bottom - src.top, m_pImg->accessPixels(),m_pImg->getInfo(), DIB_RGB...

postgres daily query analysis tool

does anyone know of a postgres view / function / tool that could report on the slowest and most often used slower queries? i think this would be so useful for all sysadmins. thanks! ...

How does the default Camera iPhone app manages to save a photo so fast?

Hello everyone. So far I've managed to create an app for iPhone that takes multiple images with about a 3 second interval between each. I`m processing each image in a separate thread asynchronously and everything is great till it gets to the moment for saving the image on the iPhone disk. Then it takes about 12 seconds to save the image ...

Is there any free or commercal jpeg decode which is really fast.

I am using c++, libjpeg for decoding jpeg file. I find it is not fast enough, is there any method to make it faster by setting some compile parameter? or are there any other lib can open jpeg files more faster? now it takes about 750ms to open a 4368 * 2912 4m jpeg image. I wish this can be reduced to 150ms. Many thanks! Added: IJL see...

Drawing Vector Graphics Faster

In my application I want to draw polygons using Windows Create Graphics method and later edit the polygon by allowing the user to select the points of the polygon and allowing to re-position them. I use moue move event to get the new position of the point to get the new coordinates of the point being moved and use Paint event to re-draw...

How to thumbnail faster in c#

I'm trying to thumb an image as fast as possible regardless of the usage of resources to be used in my ImageList and listview and this is currently how i'm doing it but it seems to be slow: public Image toThumbs(string file, int width, int height) { image = null; aspectRatio = 1; fullSizeImg =...

Left JOIN faster or Inner Join faster?

So... which one is faster (NULl value is not an issue), and are indexed. SELECT * FROM A JOIN B b ON b.id = a.id JOIN C c ON c.id = b.id WHERE A.id = '12345' Using Left Joins: SELECT * FROM A LEFT JOIN B ON B.id=A.bid LEFT JOIN C ON C.id=B.cid WHERE A.id = '12345' Here is the actual query Here it is.. both return the same...

Hash table faster in C# than C++?

Here's a curiosity I've been investigating. The .NET Dictionary class performs ridiculously fast compared to the STL unordered_map in a test I keep running, and I can't figure out why. (0.5 seconds vs. 4 seconds on my machine) (.NET 3.5 SP1 vs. Visual Studio 2008 Express SP1's STL) On the other hand, if I implement my own hash table i...

SQL Server, T-SQL is there a faster way to substring the following string in my question?

I have strings like OPEN SYSTEMS SUB GR (GM/BTIB(1111)/BTITDBL(2222)/BTVY(4444)/ACSVTYSAG) in my database under my GROUPS Column. What I want to do is to extract the 2222 from that string. The code I am using is like that. SELECT SUBSTRING(GROUPS, CHARINDEX('(',GROUPS, CHARINDEX('(',GROUPS, CHARINDEX('(',GROUPS,0)+1)+1...

how can i make this equation faster.

right now i have a bottle neck in my program I'm trying to write. i am trying to use a pinch gesture to control the scale of a UIImage. its the calculation of the scale that is causing the program to slow down and become choppy. below is the equation. currentScale = (currentDistance / initialDistance) * scaleMod; scaleMod is what ever...

Why is Perl commonly used for writing CGI scripts?

I plan to add a better search feature to my site, so I thought that I would write it in C and use the CGI as a means to access it. But it seems that Perl is the most popular language when it comes to CGI-based stuff. Why is that? Wouldn't it be faster programmed in C or machine code? What advantages, if any, are there to writing it in a...

Time Profiler: Optimizing UIImageView alloc/init calls

Time Profiler says that statements like these are slowing my app down. Is there a better way to write this so that my app runs faster? background = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"myfolder.png"] highlightedImage:[UIImage imageNamed:@"myfolderOFF.png"]]; Thanks ...

rand() faster mysql php function

Hi How do I select wallpapers randomly, but cache the last selected one for 10 seconds (for performance reasons)? the faster RAND() function use Cache in wallpapers or image i use this but i need to but cache in image timely change after 1 mins or 5 mins to chnage images in RAND() randoms wallpapers i use this : $sql_wallpaper = "S...

Creating a custom reader class in java

I am try to solve a prob in one of the Programming contests.The actual prob is sort a given list of numbers.I am using a algorithm with complexity(nlog n) and that is the maximum level of optimization I can do with the algorithm.Now from the forum I understood that I need a faster I/O for which I should create a new reader class.I/O are ...

[C#] Is There Anyway to Read a Webpage's Text Faster?

I need to read the text of a webpage programmaticly (not html source, but it doesn't matter). It takes too much time with "WebClient().DownloadString()" and the time is very important in the program. Any tips to do that faster? Thanks... ...

How to increase ajax asynchronous postback speed - asp.net

Hello dear programmers. I am developing a web based mmorpg. so speed is very vital for me since people don't like slow games :) i have a map system which uses ajax and asynchronous postbacks for walking. so i want to make it faster as much as possible. if anybody can spend some time at my page and make suggestion for me i appreciate t...