Category "performance"

What might cause a performance drop after migrating a WPF project from 3.5 to 4.0?

When I compile my application to target version 4.0 of the framework, UI performance goes straight to hell. For instance, opening an Expander that contains a G

Performance of foreach, array_map with lambda and array_map with static function

What's the performance difference (if there is any) between these three approaches, both used to transform an array to another array? Using foreach Using array

Make first letter of a string upper case (with maximum performance)

I have a DetailsView with a TextBox and I want the input data be saved always with the first letter in capital. Example: "red" --> "Red" "red house" --> "

Performance of Win32 memory mapped files vs. CRT fopen/fread

I need to read (scan) a file sequentially and process its content. File size can be anything from very small (some KB) to very large (some GB). I tried two tec

In C is it faster to use the standard library or write your own function?

For example, in <ctype.h> there are functions like isalpha(). I want to know if writing an isalpha function on my own is faster than calling isalpha? Th

Optimizing Fixed-Point Sqrt

I made what I think is a good fixed-point square root algorithm: template<int64_t M, int64_t P> typename enable_if<M + P == 32, FixedPoint<M, P>

Can hash tables really be O(1)?

It seems to be common knowledge that hash tables can achieve O(1), but that has never made sense to me. Can someone please explain it? Here are two situations

Can hash tables really be O(1)?

It seems to be common knowledge that hash tables can achieve O(1), but that has never made sense to me. Can someone please explain it? Here are two situations

QML creating Text element takes long time

I noticed that creating Text element in QML takes long time. For an example: import QtQuick 2.5 import QtQuick.Window 2.2 Window { visible: true wid

QML creating Text element takes long time

I noticed that creating Text element in QML takes long time. For an example: import QtQuick 2.5 import QtQuick.Window 2.2 Window { visible: true wid

QML creating Text element takes long time

I noticed that creating Text element in QML takes long time. For an example: import QtQuick 2.5 import QtQuick.Window 2.2 Window { visible: true wid

QML creating Text element takes long time

I noticed that creating Text element in QML takes long time. For an example: import QtQuick 2.5 import QtQuick.Window 2.2 Window { visible: true wid