performance tag

19 questions


1 answers
145 views
0
Is there a way to speed up the Android emulator?

My computer specifications are Windows XP, 1.21 gigabytes, and my CPU uses 2.67 GHz CeleronAndroid emulators are very slow. Can't you do it fast?


1 answers
117 views
0
Fastest way to write binary files

You need to write about 80GB of data on an SSD.My code is about 20MB/s when I turned it on Windows 7 and Visual 2010As far as I know, file transfer between SSDs is possible from 150 to 200 MB, so I th...

2 years ago

1 answers
78 views
0
Which is faster, stack allocation or heap allocation?

I think the stack is faster. But she's not a friendin my experienceIt takes different time depending on the situationI didn't do that when I used the stackWhich is faster, stack allocation or heap all...


1 answers
152 views
0
Python string format: %s.format()

The Python 2.6 introduced str.format() function seems to be somewhat different from how % is used. What is the best way to use it in what situation?The examples below are examples of each method, both...


1 answers
136 views
0
Can't I change Set to List without creating List?

Map<String, List> mainMap = new HashMap<String, List>();for(int i=0; i<something.size(); i++){ Set set = getSet(...); //return different result each time List listOfNames = new ArrayLis...

2 years ago

1 answers
132 views
0
Which memory profiler is good?

You want to determine which code block or object is using a lot of memory.I looked it up on Google and found that Python Memory Validator, for paid versionsAs an open source, PySizer Heapy came outPle...


1 answers
88 views
0
Performance difference between normal python 2.7 and intel distribution for python 2.7

The difference between Intel distribution for Python 2.7 and regular Python 2.7 is that it is optimized for Intel CPUs, but I can't feel the speed difference...CPU also uses Intel CPU, but I don't thi...

2 years ago

1 answers
72 views
0
When do you use StringBuilder?

I don't know the difference between String and String Builder. Please explain the difference between the two.

2 years ago

1 answers
144 views
0
Which is faster, while(1) or while(2)?

In the interview, I asked which one would be faster, while(1) or while(2)Whether it's (1) or (2), it's trueI said I think they'd be at the same speedwhile(1) is faster. Why?while(1) { //What code?}orw...

2 years ago
« - 2 -

© 2024 OneMinuteCode. All rights reserved.