August 8, 2008
Tiburon Unicode Video #5
Another beta Tiburon YouTube video, covering Unicode. This time I'm showing the UniApiSpeed example, that times 10,000 invocations of the GetUserName and SetWindowText API calls. The same exact program (which is interesting it itself) is compiled in a beta version of Tiburon (things might change in the final version) and in Delphi 7, the the video shows the result... which is very positive at least for one of the two cases.
This is the fifth (and final) video of this series, which covers the example in the first chapter of my coming Delphi handbook focused on Tiburon. I'll get more videos out, but probably after I take some time off in the coming weeks... as for now I'm fully focused on the book.
PS. There is my dog barking at the very end of the video... but I decided to let that audio in, and this is the second "appearance" of my dog after he barked in my open mike during one of the CodeRage events.
2 Comments
Tiburon Unicode Video 5
I was prepared to believe that there might be SOME improvement, as claimed, at the Windows API, but I didn't think it was likely to be significant as the performance of Windows API calls isn't - typically, ime - where concerns about performance arise. Those concerns - where they involve string handling - more typically revolve around the internal processes of an application, not the passing of strings across the Windows API, and I was highly dubious that any gains in API efficiency would offset the impact that Unicode would have in those areas. But now it would seem that there is NO performance improvement in API calls, and in some cases a performance degradation! This has been an interesting series of videos, but I think it needs at least one more, to complete the performance impact picture, showing a similar performance comparison of some typical application string handling code. Perhaps: - sorting a string list - building a string via concatentation - removing/replacing sub-strings - in the Tiburon version, perhaps show what impact the StringBuilder class has on these operations I would also be interested to know if the FastStrings library can be used in Tiburon.Comment by Jolyon Smith [http://www.deltics.co.nz/blog] on August 9, 00:48
Post Your Comment
Click here for posting your feedback to this blog.
There are currently 0 pending (unapproved) messages.





Tiburon Unicode Video 5
Comment by Alexander [] on August 8, 22:00