I am using Video For Window's AVIFile functions. When I use AVIFileOpen I notice that it uses the flag FILE_FLAG_NO_BUFFERING when creating the .avi file. ProcessMonitor shows the that file was created with "no buffering". This flag is causing performance issues and I was wondering if there is a way to use this function without that flag.
Would a hashtable/hashmap use a lot of memory if it only consists of object references and int's?
As for a school project we had to map a database to objects (that's what being done by orm/hibernate nowadays) but eager to find a good way not to store id's in objects in order to save them again we thought of putting all objects we created in a hashmap/hashtable, so we could easily retrieve it's ID. My question is if it would cost me performance using this, in my opinion more elegant way to solve this problem.
Hi all:
I'm looking for an accurate way to measure memory usage of a C# program under Windows operating system. I'm using Visual Studio for programming my code and I want to know its time consuming for performance. Really, I tried to use the Task Manager, but I do not get an accurate measurment.
Please, if any one know an accurate way to measure the memory consumption, please help me and thanks alot
Lets say we have a generic list of Class1, typically having ~100 objects for a given session.
I would like to see if the list has a particular object. ASP.NET 2.0 allows me to do this:
Dim objResult as Class1 = objList.Find(objSearch)
How does this approach rate when compared to a traditional For loop, looking at a performance perspective?
How would this vary with increase or decrease in length of the list?
Hello everyone,
I have variable length character and want to store in SQL Server (2005) database. I want to learn some best practices about how to choose TEXT SQL type or choose VARCHAR SQL type, pros and cons in performance/footprint/function.
thanks in advance,
George
I have a memory stream that contains a zip file in byte[] format .
Is there any way I can unzip this memory stream, without any need of writing the file to disk ?
In general I am using ICSharpCode.SharpZipLib.Zip.FastZip to unzip a file ,
But any way to unzip a memory stream ? and store the files in another memorystream or in byte[] format according to the files/folders present in the zip ?
Any way I can use the Memorymapped files feature in this scenario ?
I need to trace the ipadress (where my website access)for optional loading of my theme.Explanation:
I want to add a share link to twitter and facebok in my application.i think in some countries like china;twitter blocked.Thats why i need to check from where my site is accessing.otherwise which affecting my site's performance.How can we solve this problem in PHP.If anybody have experience please help me..
HI Guys,
I was watching these videos series about Entity Framework:
http://msdn.microsoft.com/en-us/data/ff191186.aspx
is that easy building application in real world programming??? and is it ....reliable...has good performance...
"I am a graduate.."
thanks
Are there speed differences, performance issues, and what reasons do businesses have when they choose one or the other... and is there a learning curve steeper for one over the other? Also... are you likely to be paid more using one over the other?
I have been using CouchDB on some prototype applications and it has been brilliant, very easy to use and extremely quick. I was wondering if anyone has been using it in production and have any views on it's reliability, performance suitability for operational management etc ?? I am considering using it to support a service layer and would make use of its replication functionality.
Any comments/experiences would be most welcome.
I have select, insert, update and delete query.
If I have to write all queries in the same stored procedure that is good for performance or should I write all queries in separate stored procedures?
Hi,
what of those two is faster for random insertions and deletions? I guess list, having the values as the keys as it is with sets seems to be attractive too though.
Is performance similar for iterating over the whole container?
Thanks!
Scenario
I have a C# application compiled as a DLL.
I have a build from last week and a build from this week.
There has been a significant change in performance so I want to compare the the two builds to see what has changed.
ANY IDEAS?........SUGGESTIONS?
Cheers
I've got a situation where an ini file is in memory (in a string variable) and I'd like to read values out of it without writing the ini file data to disk.
Is there any way to do that in VB6? Maybe with a Win API call?
What's the difference between the two? They seem to have the same functionality at first glance.
Which one has faster performance which one is easier to use?
I am getting inling warning such as :
warning: inlining failed in call to ‘symbol_Arity’: call is unlikely and code size would grow
To get rid of this i changed the makefile adding the -Winline to get rid of this. I don't get any inlining warning. But , i don't know how wise is it to do in respect of performance. Can anybody please suggest me about it?
Hi,
I need to run an image processing application on a .NET server.
Do you have any tips what I should/can do?
I implemented the code in a webservice, but performance is very slow (at least 10x slower than when executed in a windows application).
Any help will be greatly appreciated.
thanks
Can anyone help me? I want to create a search button that will search a word in more than one text file stored on the disk and want to dispaly the corresponding text file in a jsp page.
What are your favorite C/C++ interview questions? It may be question or contain question of concepts, some subjects are:
Logic, multithreading, algorithms (and performance), STL, templates, inheritence, pointers.
This is a useful tool for me, to look at what would be tested on a career-like application.
Very simple question: I want to optimize the following jQuery code with maximum readability, optimal performance and minimum fuss (fuss = declaring new variables etc):
$(".addthis_toolbox").append('<a class="addthis_button_delicious"></a>');
$(".addthis_toolbox").append('<a class="addthis_button_facebook"></a>');
$(".addthis_toolbox").append('<a class="addthis_button_google"></a>');
$(".addthis_toolbox").append('<a class="addthis_button_reddit"></a>');
.
.
.
I'm trying to learn SQL to store the data rather than reading the file and populating the whole data structure in memory. would it be like reading the data from disk instead of direct memory?
Hi guys:
I am trying to stop the windows XP timer, and actually I did it. The problem is that I want to do it using another way, not the one used before: running a visual basic script.
I need to stop it using a knoppix, or a floppy disk... maybe any other way that I don't know it.
Please, how to stop the timer without using a simple script?
I am sorry about my English.
I have been trying improve the performance of my game on iphone. Most of the cases, I do my all texture loading just before rendering the current frame. That makes big jerk in the frame rate. Anybody tried loading texture in secondary thread or something like that?