Stefan Glienke
To be honest – most of the collections in Spring 1.2 are dead slow – especially on Win32. But to be fair, almost nobody complained about that so far. Now that we have some shiny… … Read more
4 years ago 0
Stefan Glienke
Some while ago I expressed the wish for someone to create a wrapper for the famous Google benchmark library. It is a library to write so-called microbenchmarks. Microbenchmarks can help to tune small parts of… … Read more
4 years ago 0
Stefan Glienke
Finally! Thanks to Wagner Landgraf who implemented this feature you can now enjoy the hierarchical view of your unit tests just like you know it from the good ol’ DUnit GUI.Here is how it looks… … Read more
4 years ago 0
Stefan Glienke
You are sharing your source with others or you want to contribute to an open-source project? This is great!Let’s talk about a few points to ensure this will be an enjoyable experience for everyone.Setting things… … Read more
4 years ago 0
Stefan Glienke
After talking about const parameters last time today we take a closer look at out parameters and how they differ from var parameters.I like the concept of out parameters as they clearly state that only… … Read more
4 years ago 0
Stefan Glienke
The new CodeInsight status panel added in 10.4.2 can be very distracting with its busy progressbar. Unfortunately there is no builtin mechanism to hide it but doing so is very easy.Here is the code to… … Read more
4 years ago 0
Stefan Glienke
I just wanted to share a small IDE plugin I wrote some time ago which helps adding units to your uses clause and/or navigating through code without having to rely on the faulty “Find declaration”… … Read more
4 years ago 0
Stefan Glienke
A parameter with a const is different from one without const in terms of a function signature. But is that actually true? Is A(x: T) really different from B(const x: T)? Disclaimer: In this article… … Read more
4 years ago 0
Stefan Glienke
Many of you have probably seen my session at DelphiCon (watch directly on Youtube) and the overall feedback has been quite positive – many thanks to you and I hope I could stir up some interest if… … Read more
4 years ago 0
Stefan Glienke
Open array parameters in Delphi are one of the unique language constructs in Delphi. While their syntax resembles that of a dynamic array they are a different thing. In fact under the hood they consist… … Read more
4 years ago 0
Stefan Glienke
A new version of TestInsight is available for Delphi 10.1 and higher including the just released Delphi 10.4.1 – older Delphi versions can still use version 1.1.5.0.Download for 1.1.9.0 (10.1 or higher) or 1.1.5.0 (XE to 10.0)I… … Read more
4 years ago 0
Stefan Glienke
Today I would like to inform you about the recent development and some future plans of the library.As you might have seen we have been busy in various branches. The 1.2.2 branch contains many bugfixes… … Read more
6 years ago 0
Stefan Glienke
Today on Google+ there was some off topic discussion going on and the claim was being made that for-in loops are slower than for-to loops and some benchmark was being posted to back that argument.Because… … Read more
6 years ago 0
Stefan Glienke
Since the introduction of Nullable types in Spring4D they had a problem: assigning null to them was cumbersome. Some time ago you could implicitly assign a Variant to them which made it possible to assign… … Read more
8 years ago 0
Stefan Glienke
Quick, what is wrong with this code performance wise?function TWhereIterator<T>.MoveNext: Boolean;var current: T;begin Result := False; if fState = STATE_ENUMERATOR then begin fEnumerator := fSource.GetEnumerator; fState := STATE_RUNNIN… … Read more
8 years ago 0