Re: [fpc-pascal] Txt2FPDoc 0.8.4 released

2015-07-21 Thread Michael Van Canneyt
On Mon, 20 Jul 2015, Yann Mérignac wrote: Txt2FPDoc is a command line tool that converts a documentation file written in human readable language to an XML file suitable for FPDoc. Txt2FPDoc tries to make the documentation file easy to read (almost as readable as plain English) and easy to wri

Re: [fpc-pascal] Sorted map vs hash map ?

2015-07-21 Thread Sven Barth
Am 21.07.2015 16:33 schrieb "Michael Van Canneyt" : > > > > On Tue, 21 Jul 2015, Sven Barth wrote: > > >> Am 21.07.2015 12:13 schrieb "Michael Van Canneyt" : >>> >>> >>> >>> >>> On Mon, 20 Jul 2015, Serguei TARASSOV wrote: >>> Hi all, I did a small test to compare performance of TFPG

Re: [fpc-pascal] Sorted map vs hash map ?

2015-07-21 Thread Michael Van Canneyt
On Tue, 21 Jul 2015, Sven Barth wrote: Am 21.07.2015 12:13 schrieb "Michael Van Canneyt" : On Mon, 20 Jul 2015, Serguei TARASSOV wrote: Hi all, I did a small test to compare performance of TFPGMap and TFPHashList in sequential and random accessing values by keys. http://arbinada.com/m

Re: [fpc-pascal] Sorted map vs hash map ?

2015-07-21 Thread Sven Barth
Am 21.07.2015 12:13 schrieb "Michael Van Canneyt" : > > > > On Mon, 20 Jul 2015, Serguei TARASSOV wrote: > >> Hi all, >> >> I did a small test to compare performance of TFPGMap and TFPHashList in sequential and random accessing values by keys. >> http://arbinada.com/main/en/node/1511 >> >> The resu

[fpc-pascal] TBGRABitmap / bounds

2015-07-21 Thread Philippe Lévi
bmp := TBGRABitmap.Create(1024,1024, clBlack); bmp.FontHeight := 30; bmp.FontAntialias := true; bmp.FontStyle := [fsBold]; bmp.TextOut( 0, 0, textonaovazio, ColorToBGRA(ColorToRGB( clWhite)), taLeftJustify); bounds := bmp.GetImageBounds; bounds contains 0,1024 0,1024 and I need bo

[fpc-pascal] Sorted map vs hash map ?

2015-07-21 Thread Serguei TARASSOV
The problem was in the proper generation of random keys for testing. Now it looks better. I added statistics with different key's density ("normal" usage is unique keys) On 21/07/2015 12:00, fpc-pascal-requ...@lists.freepascal.org wrote: From: Serguei TARASSOV To:fpc-pascal@lists.freepascal.or

Re: [fpc-pascal] Reading resources

2015-07-21 Thread Bart
Wen I use the resexplorer example on other executables that are not built with Lazarus, I do get proper TBitmapResources (and clicking on the item displays the image). To me this indicates that the resources in Lazarus-built pograms are not stored with the proper "attribute" (?) inside the executa

Re: [fpc-pascal] Sorted map vs hash map ?

2015-07-21 Thread Michael Van Canneyt
On Mon, 20 Jul 2015, Serguei TARASSOV wrote: Hi all, I did a small test to compare performance of TFPGMap and TFPHashList in sequential and random accessing values by keys. http://arbinada.com/main/en/node/1511 The results are not the same than expected. In theory, the hash map should give

Re: [fpc-pascal] fpdoc HTML class hierarchy output contains duplicates

2015-07-21 Thread Michael Van Canneyt
On Tue, 21 Jul 2015, Graeme Geldenhuys wrote: Hi, Last night I came across something, which I think is a bug in fpdoc's HTML output. In recent times, fpdoc added a new output feature to the HTML generated - a class hierarchy page. Here is recent HTML output I generated for the tiOPF project.

[fpc-pascal] fpdoc HTML class hierarchy output contains duplicates

2015-07-21 Thread Graeme Geldenhuys
Hi, Last night I came across something, which I think is a bug in fpdoc's HTML output. In recent times, fpdoc added a new output feature to the HTML generated - a class hierarchy page. Here is recent HTML output I generated for the tiOPF project. Note all the duplicates in the Class Hierarchy pag

Re: [fpc-pascal] Modems etc.

2015-07-21 Thread Lukasz Sokol
On 20/07/15 17:32, Mark Morgan Lloyd wrote: > Lukasz Sokol wrote: >> >> It's been years since I had anything to do with DSP, unfortunately, >> but with the FFT running on the sliding 26-sample-long window, and >> a /reverse/ FFT to produce the 26-long sample from just having a >> byte or 2 written