fast

How to use Fast Bind to connect Ldap with Spring

Hello, I managed to connect to an ldap server using spring. I want to create an anonymous session and use fast bind for authentications. I'm not sure which properties I need to change to use fast bind ? (sample code will be great!) Thanks in advance! ...

Storage with fast read (slow write), able to store large amount of records

I'm searching for fast key-value\structured storage for lots of long strings. I'll update them seldom (and completely). I (will) store some often-update data (as users ect.) in MongoDB; as run-time update small DB (for chat) I ('m going to) use Redis (it's so pity, AFAIK, there is no ability to store data not in memory). Why won't I si...

iPhone SDK - What is the fastest way to grap an image from the camera and resize it to screen size?

Since UIGetScreenImage() is banned again I'm looking for another fast way to get a 320x480 image representation of the current camera picture. What would be the fastest way to downsize the image from didFinishPickingMediaWithInfo and save it as an jpg? ...

Which is the fastest decoder for jpeg full-scale decoding?

Which is the fastest decoder for jpeg full-scale decoding ? I want to accelerate my apps' jpeg decoding speed, how can I do this? I am using libjpeg now, it is a bit slow, is there any one faster than libjpeg? I do not need partical decoding. Many thanks! ...

Fast String Search like startsWith() not equals()

Hi everyone, I have an ordered list (a dictionary - 100K words) and many words to seach on this list frequently. So performance is an issue. I know that a HashSet.contains(theWord) or Collections.binarySearch(sortedList, theWord) are very fast. But I am actually not looking for the whole word. What I want is let's say searching for "s...

Fast nbody algorithms / solutions (with opengl/c++/??)

Dear reader, I'm working on a (c++, opengl) project where I need to have lots of particles which influence eachother, if I'm correct this is called a nbody problem. Does someone knows what solutions there are for algorithms like this. I know the barnes hut algorithm and maybe I can peek around openCL, though I'm not just wondering if y...

How to get really smooth moving objects using openGL

Dear reader, I'm working on an application where I draw a circular progress indicator which slowly gets "filled", here you can see a couple of images. I'm using intermediate mode and I'm only drawing this circular shape by drawing the vertices at each frame update (see code below). When the circle fills up the border line between the wh...

need rollover effect for row of 9 perfume bottles

For a perfumer's website I'm displaying a row of nine bottles on a shelf. It appears as one continuous photograph. I've cut it into nine seamless slices, each in its own table cell with its own id. I'm thinking to use jQuery as I want the following on rollover: Bottle blitzes instantaneously bright also triggers short sound file. Afte...

[WPF] How to draw a simple volume bar fast / databinding ?

I have a INotifyPropertyChanged derived class with a Volume property (float, 0.0f - 1.0f) that gets set on a fixed frequency (say 30fps). I'd like to draw a tiny volumebar displaying this in my window. I don't want to use a normal databound progressbar, I'd prefer something simpler (and faster :)). Is there a proper way to simply draw a...

Fastest data structure in Java (Processing for 4D visualization)

Hey, I've got an application that i need to use a visualization framework for. I'm currently leaning towards Processing for use in a Java desktop app. Problem: I've got ~500k+ state vectors i need to visualize. 4D points - XYZ and time (GPS-like) I need to be able to select time slices fast and easily, also having the capability to pl...

How does FullTextSearchQuery work with SharePoint 2010 and FAST Search Server?

I just installed a testing environment with SharePoint 2010 and FAST Search Server as the default search service application. Started with some test content and executed a few searches using the std. SharePoint GUI - everything fine so far. Now I want to execute a more complicated query using the Microsoft.Office.Server.Search.Query.Ful...

What are the key design choices to make a wicked fast compiler?

I want to know how to design a compiler that compiles very, very quickly. First, let me head off some obvious misunderstandings of my question: I am not talking about the speed of the code produced by the compiler. There are already many resources available for learning how to optimize generated code. What I'm having trouble finding i...

Fastest way to save UIImage

Hey guys, I have a little issue here; my goal is to be able to process images at a very fast rate, maybe up to 10 images per second. What is happening is I'm getting a CGImage, converting it to UIImage, and saving it to disk. But I'm realizing that saving using writeToFile is quite "slow", as I need to be able to save ten of these per s...

SQL - Select all rows added yesterday efficiently

Hi, I want to select all of the rows added to a table which were added "yesterday" i.e. the day before whenever I choose to run the query. At the moment my query looks like this: SELECT row_date (etc) WHERE row_date >= trunc(sysdate-1) and row_date < truc(sysdate); Is there a more efficient (and, hopefully, readable) way of ...

Request to Asp page misses if called very fast

Hi, I have a website with is made in classic asp. On one page there are 5 textboxes and 5 labels. When users type some value in the textbox then using javascript (added on Onchange event) another asp page is called which done some calculations, fetches some database values based on the value typed and return the result to caller page to...

Fast file copy with progress

Hello, I'm writing an SDL application for Linux, that works from the console (no X server). One function I have is a file copy mechanism, that copies specific files from HDD to USB Flash device, and showing progress of this copy in the UI. To do this, I'm using simple while loop and copying file by 8kB chunks to get copy progress. The p...

What is the best language for fast web development?

I have an idea for a simple web application and I've heard a lot about Ruby, Ruby on Rails, Python, PHP, etc. But what language do you think is better to have working prototypes and get the application running online really quick? NOTE: This is not a question about the language's performance, I am just trying to find the best language...

Suitable choice of data structure and algorithm for fast k-Nearest Neighbor search in 2D

I have a dataset of approximately 100,000 (X, Y) pairs representing points in 2D space. For each point, I want to find its k-nearest neighbors. So, my question is - what data-structure / algorithm would be a suitable choice, assuming I want to absolutely minimise the overall running time? I'm not looking for code - just a pointer towar...