Questions tagged as 'desempenho'

3
answers

Can a video accelerator card improve non-graphical performance? [closed]

To develop in Ruby on Rails, I use here a VirtualBox virtual machine with Ubuntu Server 14.04 without graphical interface installed. Recently I discovered a configuration that improves absurdly VM performance: Enable 3D video acceleration...
asked by 08.09.2014 / 13:19
2
answers

Foreach or lambda in lists

What do I get the best performance to get the value of a data in a list? Do foreach or lambda (when possible, of course)? I can have this: foreach(var i in lista) { var teste = i.NmCampo; } Or this: var teste = lista.Select(campo...
asked by 11.03.2015 / 13:09
1
answer

Output pattern of fingerprint readers on fingerprint

I would like to know the following questions from someone who has worked with some biometric fingerprint reader: The outputs of biometric readers are standard, ie a reader model A of a mark X follows the same pattern as a mark B reader Y?...
asked by 14.03.2015 / 06:39
3
answers

How to optimize the sum of the elements of an array

I need to get the value of the sum of the items of a array in JavaScript. The amount of these items can easily reach 2,000 items. Items are of type int , no testing required. ar = [1,3,5,...,2000]; I already have a array...
asked by 27.10.2016 / 18:07
1
answer

Does a property take up space on the object?

I was reading a query about properties and saw that it is one or two methods at one time. Is there any additional cost in memory and processing in using it? If you do not use the code can you get more optimized?     
asked by 11.05.2017 / 16:11
1
answer

Javascript performance: switch or if nested?

Which of the two alternatives provides the best performance in Javascript: switch or if nested? if { ... } else { if { ... } else { if { ... } else { ... } } } or switch(expression) { case n:...
asked by 20.06.2014 / 18:14
3
answers

How to improve file write speed for a ClientDataSet?

I am doing the integration of a system with a banking file, and am having a problem in the process. I get a plain text file with approximately 1300Kb and about 5,500 lines from the credit card company. I'm reading this file and storing it in...
asked by 02.04.2014 / 22:27
3
answers

Using non-primitive variable type in C # can affect performance?

Using non-primitive variable type in C # can affect performance? I've seen a lot of code in which, instead of using primitive C # types, many use types similar to other languages that IDE supports. I already questioned a programmer why he...
asked by 30.01.2014 / 19:07
4
answers

How to improve SQL performance with IN clause?

I have this SQL here: SELECT id, nome, url FROM categorias WHERE status = 1 AND id_ls IN (SELECT id_categoria FROM cliente_categorias) GROUP BY url What it does is fetch only categories that have clients assigned to them. My categorie...
asked by 15.12.2017 / 20:35
3
answers

What JSON structure to use for large data volume without loss of performance?

I'm thinking of using JSON in a project, as it is highly accepted and there are many ready-made libraries that encode and decode it into other objects (arrays, for example), but there is something that worries me. Suppose a Web Service return...
asked by 14.11.2014 / 02:28