Questions tagged as 'desempenho'

2
answers

Mobile Database

I'm creating a mobile application and I need to use a database to save user data. I have already thought about SQLite, but it is not recommended to use it on sites with more than 100,000 requests per day, and if my application has this number of...
asked by 15.11.2016 / 05:15
2
answers

How to free memory after using a FileRerence?

FileReference.load does not have a function to unload, as there is new Loader().unload . Should be a Flash BUG or FileReference needs to be improved, type in a new version to add a function like this: FileReference.unload();...
asked by 31.03.2014 / 18:39
3
answers

Is there a difference in performance depending on what you are looking for?

Is there a difference in performance when querying the database, depending on the number of characters entered in the query? For example, if a query is made for any record that has the 'a' character, will it spend more processing than searchi...
asked by 20.01.2017 / 00:26
1
answer

Difference between: 80 and other doors

I have a hosting problem where I will not be able to upload my application to the default port :80 , as a solution I was asked to upload it to a different port, example :3000 , and direct the link to the given port . Questions: W...
asked by 09.01.2018 / 12:44
1
answer

How does the frame-pointer work?

In the official GCC documentation there is a option that allows you to remove the frame-pointer when not needed. What does the frame-pointer do? How to remove this pointer can improve performance?
asked by 16.02.2017 / 11:49
2
answers

Which way to change variables is more optimized?

I made two ways to change the value a and b , but which is more optimized, taking this example to other languages like desktop or web. Without using auxiliary variable: $a = 10; $b = 5; $a = $b+$a; $b = $a-$b; $a -= $b; Usi...
asked by 19.08.2017 / 21:31
1
answer

Improve slow query performance in MS SQL SERVER

Are the indexes incorrect? I'm having a hard time optimizing a query. I had another question for a simpler case that resolved, but in that case I'm not getting a better result. The following query is taking 19 seconds: select top 12 c.cre...
asked by 09.01.2017 / 20:03
2
answers

CURSOR vs table-type variable

I'm facing one of those situations where I need to perform an action for each row resulting from a query. In this way I have two options, to use a Cursor or a Table Variable , however the two seem to me very similar (semantically...
asked by 26.03.2015 / 20:37
1
answer

Conversion difference from Array to ArrayList with "asList" and with constructor

What's the difference between these two ways of converting an array ? If there is any difference, does it impact performance? List<String> list = Arrays.asList(meuArray); ArrayList<String> arrayList = new ArrayList<String>(...
asked by 05.11.2018 / 13:52
1
answer

Use or not block definition in simple "if" influences application performance?

Some questions arise that do not change the flow of decisions, but may influence application performance by the amount of extra lines depending on how you program. I like to keep my code as lean as possible, but when it comes to keeping organ...
asked by 27.07.2018 / 14:28